//This is called by the physics engine to update the transformation of Dynamic rigidbodies. private static void RigidBodySetWorldTransform(PhysicsElement element, Matrix physicsTransform) { if (element.BoneIndex == -1) { element.UpdateTransformationComponent(physicsTransform); } else { element.UpdateBoneTransformation(physicsTransform); } }
//This is called by the physics engine to update the transformation of Dynamic rigidbodies static void RigidBodySetWorldTransform(PhysicsElement element, Matrix physicsTransform) { element.UpdateTransformationComponent(physicsTransform); }