File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
com.unity.netcode.gameobjects/Tests/Runtime/NetworkTransform Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -466,7 +466,7 @@ private bool AllTransformsAreApproximatelyTheSame()
466466 m_ErrorMsg . AppendLine ( $ "[{ instance . name } ] Position ({ instance . transform . position } ) is not " +
467467 $ "equal to authority's ({ authorityInstance . transform . position } )! ") ;
468468 }
469- if ( ! Approximately ( instance . transform . rotation , authorityInstance . transform . rotation ) )
469+ if ( ! ApproximatelyEuler ( instance . transform . rotation . eulerAngles , authorityInstance . transform . rotation . eulerAngles ) )
470470 {
471471 m_ErrorMsg . AppendLine ( $ "[{ instance . name } ] Rotation ({ instance . transform . rotation . eulerAngles } ) is not " +
472472 $ "equal to authority's ({ authorityInstance . transform . rotation . eulerAngles } )! ") ;
You can’t perform that action at this time.
0 commit comments