File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
com.unity.netcode.gameobjects/Components Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -739,20 +739,19 @@ private void ApplyAuthoritativeState()
739739 else if ( Interpolate && SynchronizeRotation )
740740 {
741741 var eulerAngles = m_RotationInterpolator . GetInterpolatedValue ( ) . eulerAngles ;
742- interpolatedRotAngles = eulerAngles ;
743742 if ( SyncRotAngleX )
744743 {
745- interpolatedRotAngles . x = m_RotationInterpolator . GetInterpolatedValue ( ) . eulerAngles . x ;
744+ interpolatedRotAngles . x = eulerAngles . x ;
746745 }
747746
748747 if ( SyncRotAngleY )
749748 {
750- interpolatedRotAngles . y = m_RotationInterpolator . GetInterpolatedValue ( ) . eulerAngles . y ;
749+ interpolatedRotAngles . y = eulerAngles . y ;
751750 }
752751
753752 if ( SyncRotAngleZ )
754753 {
755- interpolatedRotAngles . z = m_RotationInterpolator . GetInterpolatedValue ( ) . eulerAngles . z ;
754+ interpolatedRotAngles . z = eulerAngles . z ;
756755 }
757756 }
758757
You can’t perform that action at this time.
0 commit comments