@@ -13,70 +13,57 @@ namespace Unity.Netcode.RuntimeTests
1313 [ TestFixture ( HostOrServer . DAHost , Authority . OwnerAuthority , RotationCompression . None , Rotation . Euler , Precision . Full , NetworkTransform . InterpolationTypes . LegacyLerp ) ]
1414 [ TestFixture ( HostOrServer . DAHost , Authority . OwnerAuthority , RotationCompression . None , Rotation . Euler , Precision . Full , NetworkTransform . InterpolationTypes . Lerp ) ]
1515 [ TestFixture ( HostOrServer . DAHost , Authority . OwnerAuthority , RotationCompression . None , Rotation . Euler , Precision . Full , NetworkTransform . InterpolationTypes . SmoothDampening ) ]
16- #if ! MULTIPLAYER_TOOLS
1716 [ TestFixture ( HostOrServer . DAHost , Authority . OwnerAuthority , RotationCompression . None , Rotation . Euler , Precision . Half , NetworkTransform . InterpolationTypes . LegacyLerp ) ]
1817 [ TestFixture ( HostOrServer . DAHost , Authority . OwnerAuthority , RotationCompression . None , Rotation . Quaternion , Precision . Full , NetworkTransform . InterpolationTypes . LegacyLerp ) ]
1918 [ TestFixture ( HostOrServer . DAHost , Authority . OwnerAuthority , RotationCompression . None , Rotation . Quaternion , Precision . Half , NetworkTransform . InterpolationTypes . LegacyLerp ) ]
2019 [ TestFixture ( HostOrServer . DAHost , Authority . OwnerAuthority , RotationCompression . QuaternionCompress , Rotation . Quaternion , Precision . Full , NetworkTransform . InterpolationTypes . LegacyLerp ) ]
2120 [ TestFixture ( HostOrServer . DAHost , Authority . OwnerAuthority , RotationCompression . QuaternionCompress , Rotation . Quaternion , Precision . Half , NetworkTransform . InterpolationTypes . LegacyLerp ) ]
22-
2321 [ TestFixture ( HostOrServer . DAHost , Authority . OwnerAuthority , RotationCompression . None , Rotation . Euler , Precision . Half , NetworkTransform . InterpolationTypes . Lerp ) ]
2422 [ TestFixture ( HostOrServer . DAHost , Authority . OwnerAuthority , RotationCompression . None , Rotation . Quaternion , Precision . Full , NetworkTransform . InterpolationTypes . Lerp ) ]
2523 [ TestFixture ( HostOrServer . DAHost , Authority . OwnerAuthority , RotationCompression . None , Rotation . Quaternion , Precision . Half , NetworkTransform . InterpolationTypes . Lerp ) ]
2624 [ TestFixture ( HostOrServer . DAHost , Authority . OwnerAuthority , RotationCompression . QuaternionCompress , Rotation . Quaternion , Precision . Full , NetworkTransform . InterpolationTypes . Lerp ) ]
2725 [ TestFixture ( HostOrServer . DAHost , Authority . OwnerAuthority , RotationCompression . QuaternionCompress , Rotation . Quaternion , Precision . Half , NetworkTransform . InterpolationTypes . Lerp ) ]
28-
2926 [ TestFixture ( HostOrServer . DAHost , Authority . OwnerAuthority , RotationCompression . None , Rotation . Euler , Precision . Half , NetworkTransform . InterpolationTypes . SmoothDampening ) ]
3027 [ TestFixture ( HostOrServer . DAHost , Authority . OwnerAuthority , RotationCompression . None , Rotation . Quaternion , Precision . Full , NetworkTransform . InterpolationTypes . SmoothDampening ) ]
3128 [ TestFixture ( HostOrServer . DAHost , Authority . OwnerAuthority , RotationCompression . None , Rotation . Quaternion , Precision . Half , NetworkTransform . InterpolationTypes . SmoothDampening ) ]
3229 [ TestFixture ( HostOrServer . DAHost , Authority . OwnerAuthority , RotationCompression . QuaternionCompress , Rotation . Quaternion , Precision . Full , NetworkTransform . InterpolationTypes . SmoothDampening ) ]
3330 [ TestFixture ( HostOrServer . DAHost , Authority . OwnerAuthority , RotationCompression . QuaternionCompress , Rotation . Quaternion , Precision . Half , NetworkTransform . InterpolationTypes . SmoothDampening ) ]
34-
35- #endif
3631 [ TestFixture ( HostOrServer . Server , Authority . ServerAuthority , RotationCompression . None , Rotation . Euler , Precision . Full , NetworkTransform . InterpolationTypes . LegacyLerp ) ]
3732 [ TestFixture ( HostOrServer . Server , Authority . ServerAuthority , RotationCompression . None , Rotation . Euler , Precision . Full , NetworkTransform . InterpolationTypes . Lerp ) ]
3833 [ TestFixture ( HostOrServer . Server , Authority . ServerAuthority , RotationCompression . None , Rotation . Euler , Precision . Full , NetworkTransform . InterpolationTypes . SmoothDampening ) ]
39- #if ! MULTIPLAYER_TOOLS
4034 [ TestFixture ( HostOrServer . Server , Authority . ServerAuthority , RotationCompression . None , Rotation . Euler , Precision . Half , NetworkTransform . InterpolationTypes . LegacyLerp ) ]
4135 [ TestFixture ( HostOrServer . Server , Authority . ServerAuthority , RotationCompression . None , Rotation . Quaternion , Precision . Full , NetworkTransform . InterpolationTypes . LegacyLerp ) ]
4236 [ TestFixture ( HostOrServer . Server , Authority . ServerAuthority , RotationCompression . None , Rotation . Quaternion , Precision . Half , NetworkTransform . InterpolationTypes . LegacyLerp ) ]
4337 [ TestFixture ( HostOrServer . Server , Authority . ServerAuthority , RotationCompression . QuaternionCompress , Rotation . Quaternion , Precision . Full , NetworkTransform . InterpolationTypes . LegacyLerp ) ]
4438 [ TestFixture ( HostOrServer . Server , Authority . ServerAuthority , RotationCompression . QuaternionCompress , Rotation . Quaternion , Precision . Half , NetworkTransform . InterpolationTypes . LegacyLerp ) ]
45-
4639 [ TestFixture ( HostOrServer . Server , Authority . ServerAuthority , RotationCompression . None , Rotation . Euler , Precision . Half , NetworkTransform . InterpolationTypes . Lerp ) ]
4740 [ TestFixture ( HostOrServer . Server , Authority . ServerAuthority , RotationCompression . None , Rotation . Quaternion , Precision . Full , NetworkTransform . InterpolationTypes . Lerp ) ]
4841 [ TestFixture ( HostOrServer . Server , Authority . ServerAuthority , RotationCompression . None , Rotation . Quaternion , Precision . Half , NetworkTransform . InterpolationTypes . Lerp ) ]
4942 [ TestFixture ( HostOrServer . Server , Authority . ServerAuthority , RotationCompression . QuaternionCompress , Rotation . Quaternion , Precision . Full , NetworkTransform . InterpolationTypes . Lerp ) ]
5043 [ TestFixture ( HostOrServer . Server , Authority . ServerAuthority , RotationCompression . QuaternionCompress , Rotation . Quaternion , Precision . Half , NetworkTransform . InterpolationTypes . Lerp ) ]
51-
5244 [ TestFixture ( HostOrServer . Server , Authority . ServerAuthority , RotationCompression . None , Rotation . Euler , Precision . Half , NetworkTransform . InterpolationTypes . SmoothDampening ) ]
5345 [ TestFixture ( HostOrServer . Server , Authority . ServerAuthority , RotationCompression . None , Rotation . Quaternion , Precision . Full , NetworkTransform . InterpolationTypes . SmoothDampening ) ]
5446 [ TestFixture ( HostOrServer . Server , Authority . ServerAuthority , RotationCompression . None , Rotation . Quaternion , Precision . Half , NetworkTransform . InterpolationTypes . SmoothDampening ) ]
5547 [ TestFixture ( HostOrServer . Server , Authority . ServerAuthority , RotationCompression . QuaternionCompress , Rotation . Quaternion , Precision . Full , NetworkTransform . InterpolationTypes . SmoothDampening ) ]
5648 [ TestFixture ( HostOrServer . Server , Authority . ServerAuthority , RotationCompression . QuaternionCompress , Rotation . Quaternion , Precision . Half , NetworkTransform . InterpolationTypes . SmoothDampening ) ]
57- #endif
5849 [ TestFixture ( HostOrServer . Host , Authority . OwnerAuthority , RotationCompression . None , Rotation . Euler , Precision . Full , NetworkTransform . InterpolationTypes . LegacyLerp ) ]
5950 [ TestFixture ( HostOrServer . Host , Authority . OwnerAuthority , RotationCompression . None , Rotation . Euler , Precision . Full , NetworkTransform . InterpolationTypes . Lerp ) ]
6051 [ TestFixture ( HostOrServer . Host , Authority . OwnerAuthority , RotationCompression . None , Rotation . Euler , Precision . Full , NetworkTransform . InterpolationTypes . SmoothDampening ) ]
61- #if ! MULTIPLAYER_TOOLS
6252 [ TestFixture ( HostOrServer . Host , Authority . OwnerAuthority , RotationCompression . None , Rotation . Euler , Precision . Half , NetworkTransform . InterpolationTypes . LegacyLerp ) ]
6353 [ TestFixture ( HostOrServer . Host , Authority . OwnerAuthority , RotationCompression . None , Rotation . Quaternion , Precision . Full , NetworkTransform . InterpolationTypes . LegacyLerp ) ]
6454 [ TestFixture ( HostOrServer . Host , Authority . OwnerAuthority , RotationCompression . None , Rotation . Quaternion , Precision . Half , NetworkTransform . InterpolationTypes . LegacyLerp ) ]
6555 [ TestFixture ( HostOrServer . Host , Authority . OwnerAuthority , RotationCompression . QuaternionCompress , Rotation . Quaternion , Precision . Full , NetworkTransform . InterpolationTypes . LegacyLerp ) ]
6656 [ TestFixture ( HostOrServer . Host , Authority . OwnerAuthority , RotationCompression . QuaternionCompress , Rotation . Quaternion , Precision . Half , NetworkTransform . InterpolationTypes . LegacyLerp ) ]
67-
6857 [ TestFixture ( HostOrServer . Host , Authority . OwnerAuthority , RotationCompression . None , Rotation . Euler , Precision . Half , NetworkTransform . InterpolationTypes . Lerp ) ]
6958 [ TestFixture ( HostOrServer . Host , Authority . OwnerAuthority , RotationCompression . None , Rotation . Quaternion , Precision . Full , NetworkTransform . InterpolationTypes . Lerp ) ]
7059 [ TestFixture ( HostOrServer . Host , Authority . OwnerAuthority , RotationCompression . None , Rotation . Quaternion , Precision . Half , NetworkTransform . InterpolationTypes . Lerp ) ]
7160 [ TestFixture ( HostOrServer . Host , Authority . OwnerAuthority , RotationCompression . QuaternionCompress , Rotation . Quaternion , Precision . Full , NetworkTransform . InterpolationTypes . Lerp ) ]
7261 [ TestFixture ( HostOrServer . Host , Authority . OwnerAuthority , RotationCompression . QuaternionCompress , Rotation . Quaternion , Precision . Half , NetworkTransform . InterpolationTypes . Lerp ) ]
73-
7462 [ TestFixture ( HostOrServer . Host , Authority . OwnerAuthority , RotationCompression . None , Rotation . Euler , Precision . Half , NetworkTransform . InterpolationTypes . SmoothDampening ) ]
7563 [ TestFixture ( HostOrServer . Host , Authority . OwnerAuthority , RotationCompression . None , Rotation . Quaternion , Precision . Full , NetworkTransform . InterpolationTypes . SmoothDampening ) ]
7664 [ TestFixture ( HostOrServer . Host , Authority . OwnerAuthority , RotationCompression . None , Rotation . Quaternion , Precision . Half , NetworkTransform . InterpolationTypes . SmoothDampening ) ]
7765 [ TestFixture ( HostOrServer . Host , Authority . OwnerAuthority , RotationCompression . QuaternionCompress , Rotation . Quaternion , Precision . Full , NetworkTransform . InterpolationTypes . SmoothDampening ) ]
7866 [ TestFixture ( HostOrServer . Host , Authority . OwnerAuthority , RotationCompression . QuaternionCompress , Rotation . Quaternion , Precision . Half , NetworkTransform . InterpolationTypes . SmoothDampening ) ]
79- #endif
8067 internal class NetworkTransformTests : NetworkTransformBase
8168 {
8269 protected const int k_TickRate = 60 ;
@@ -162,8 +149,6 @@ private void AllChildrenLocalTransformValuesMatch(bool useSubChild, ChildrenTran
162149 }
163150 }
164151
165- #if ! MULTIPLAYER_TOOLS
166-
167152 private void UpdateTransformLocal ( NetworkTransform networkTransformTestComponent )
168153 {
169154 networkTransformTestComponent . transform . localPosition += GetRandomVector3 ( 0.5f , 2.0f ) ;
@@ -698,7 +683,6 @@ public void LateJoiningPlayerInitialScaleValues([Values] TransformSpace testLoca
698683 }
699684 }
700685 }
701- #endif
702686
703687 /// <summary>
704688 /// Tests changing all axial values one at a time.
0 commit comments