mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
PredictedRigidbody: update hard follow commented code
This commit is contained in:
parent
b7bbd0fb50
commit
237ffac7a9
@ -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
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user