PredictedRigidbody: update hard follow commented code

This commit is contained in:
mischa 2024-03-15 12:32:42 +08:00 committed by MrGadget
parent b7bbd0fb50
commit 237ffac7a9

View File

@ -293,8 +293,8 @@ protected virtual void DestroyGhosts()
protected virtual void SmoothFollowPhysicsCopy()
{
// hard follow:
// tf.position = physicsCopyCollider.position;
// tf.rotation = physicsCopyCollider.rotation;
// predictedRigidbodyTransform.GetPositionAndRotation(out Vector3 physicsPosition, out Quaternion physicsRotation);
// tf.SetPositionAndRotation(physicsPosition, physicsRotation);
// ORIGINAL VERSION: CLEAN AND SIMPLE
/*