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()
739
739
else if ( Interpolate && SynchronizeRotation )
740
740
{
741
741
var eulerAngles = m_RotationInterpolator . GetInterpolatedValue ( ) . eulerAngles ;
742
- interpolatedRotAngles = eulerAngles ;
743
742
if ( SyncRotAngleX )
744
743
{
745
- interpolatedRotAngles . x = m_RotationInterpolator . GetInterpolatedValue ( ) . eulerAngles . x ;
744
+ interpolatedRotAngles . x = eulerAngles . x ;
746
745
}
747
746
748
747
if ( SyncRotAngleY )
749
748
{
750
- interpolatedRotAngles . y = m_RotationInterpolator . GetInterpolatedValue ( ) . eulerAngles . y ;
749
+ interpolatedRotAngles . y = eulerAngles . y ;
751
750
}
752
751
753
752
if ( SyncRotAngleZ )
754
753
{
755
- interpolatedRotAngles . z = m_RotationInterpolator . GetInterpolatedValue ( ) . eulerAngles . z ;
754
+ interpolatedRotAngles . z = eulerAngles . z ;
756
755
}
757
756
}
758
757
You can’t perform that action at this time.
0 commit comments