We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb0b965 commit bb9ff76Copy full SHA for bb9ff76
1 file changed
com.unity.netcode.gameobjects/Runtime/Components/NetworkRigidBodyBase.cs
@@ -890,11 +890,9 @@ private void PostSetIsKinematic()
890
{
891
// switch it back to the original interpolation and exit early
892
SetInterpolation(m_OriginalInterpolation);
893
+ return;
894
}
895
- // Determine if the rigid body being used is configured for extrapolation.
896
- var isRigidbodyExtrapolating = HasInterpolationTypeSet(InterpolationTypes.Extrapolate);
897
-
898
// If the Rigidbody or Rigidbody2D is currently configured to extrapolate
899
if (HasInterpolationTypeSet(InterpolationTypes.Extrapolate))
900
0 commit comments