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() protected virtual void SmoothFollowPhysicsCopy()
{ {
// hard follow: // hard follow:
// tf.position = physicsCopyCollider.position; // predictedRigidbodyTransform.GetPositionAndRotation(out Vector3 physicsPosition, out Quaternion physicsRotation);
// tf.rotation = physicsCopyCollider.rotation; // tf.SetPositionAndRotation(physicsPosition, physicsRotation);
// ORIGINAL VERSION: CLEAN AND SIMPLE // ORIGINAL VERSION: CLEAN AND SIMPLE
/* /*