diff --git a/data/maps/demo/demo.unv b/data/maps/demo/demo.unv index 47daa61103..b6cca8fa93 100644 Binary files a/data/maps/demo/demo.unv and b/data/maps/demo/demo.unv differ diff --git a/src/physics/physics_module.cpp b/src/physics/physics_module.cpp index b560258093..647e4b4f46 100644 --- a/src/physics/physics_module.cpp +++ b/src/physics/physics_module.cpp @@ -1393,8 +1393,7 @@ struct PhysicsModuleImpl final : PhysicsModule joint.connected_body = INVALID_ENTITY; joint.local_frame0.p = PxVec3(0, 0, 0); joint.local_frame0.q = PxQuat(0, 0, 0, 1); - joint.physx = PxDistanceJointCreate( - m_scene->getPhysics(), m_dummy_actor, PxTransform(PxIdentity), nullptr, PxTransform(PxIdentity)); + joint.physx = PxDistanceJointCreate(m_scene->getPhysics(), m_dummy_actor, PxTransform(PxIdentity), nullptr, PxTransform(PxIdentity)); joint.physx->setConstraintFlag(PxConstraintFlag::eVISUALIZATION, true); static_cast(joint.physx)->setDistanceJointFlag(PxDistanceJointFlag::eSPRING_ENABLED, true);