We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51df847 commit d3080e6Copy full SHA for d3080e6
com.unity.netcode.gameobjects/Components/NetworkTransform.cs
@@ -740,7 +740,7 @@ private void ApplyAuthoritativeState()
740
{
741
var eulerAngles = m_RotationInterpolator.GetInterpolatedValue().eulerAngles;
742
interpolatedRotAngles = eulerAngles;
743
- if (SyncRotAngleY)
+ if (SyncRotAngleX)
744
745
interpolatedRotAngles.x = m_RotationInterpolator.GetInterpolatedValue().eulerAngles.x;
746
}
@@ -750,7 +750,7 @@ private void ApplyAuthoritativeState()
750
interpolatedRotAngles.y = m_RotationInterpolator.GetInterpolatedValue().eulerAngles.y;
751
752
753
+ if (SyncRotAngleZ)
754
755
756
0 commit comments