diff --git a/core/src/physics/world.cpp b/core/src/physics/world.cpp index a657820..bc8945b 100644 --- a/core/src/physics/world.cpp +++ b/core/src/physics/world.cpp @@ -146,6 +146,7 @@ void PhysWorld::syncBodyProperties(std::shared_ptr part) { if (body == nullptr) { JPH::Shape* shape = makeShape(part); JPH::BodyCreationSettings settings(shape, convert(part->position()), convert((glm::quat)part->cframe.RotMatrix()), motionType, objectLayer); + settings.mAllowDynamicOrKinematic = true; settings.mRestitution = 0.5; body = interface.CreateBody(settings);