fix: updated NetworkTransform2k test

This commit is contained in:
MrGadget1024 2021-09-06 14:21:49 -04:00
parent 73c47b5fc3
commit fe021f8fe7

View File

@ -172,6 +172,9 @@ public void ApplySnapshot_DontSyncPosition()
component.syncPosition = false;
component.syncRotation = true;
component.syncScale = true;
component.interpolatePosition = false;
component.interpolateRotation = true;
component.interpolateScale = true;
component.ApplySnapshot(default, default, new NTSnapshot(0, 0, position, rotation, scale));
// was it applied?
@ -192,6 +195,9 @@ public void ApplySnapshot_DontSyncRotation()
component.syncPosition = true;
component.syncRotation = false;
component.syncScale = true;
component.interpolatePosition = true;
component.interpolateRotation = false;
component.interpolateScale = true;
component.ApplySnapshot(default, default, new NTSnapshot(0, 0, position, rotation, scale));
// was it applied?
@ -212,6 +218,9 @@ public void ApplySnapshot_DontSyncScale()
component.syncPosition = true;
component.syncRotation = true;
component.syncScale = false;
component.interpolatePosition = true;
component.interpolateRotation = true;
component.interpolateScale = false;
component.ApplySnapshot(default, default, new NTSnapshot(0, 0, position, rotation, scale));
// was it applied?