StrixMovementSynchronizerReset Method |
Resets the interpolation data of the remote object.
Namespace:
SoftGear.Strix.Unity.Runtime
Assembly:
StrixUnityRuntime (in StrixUnityRuntime.dll) Version: 1.5.0
Syntax public void Reset(
Vector3 position,
Vector3 velocity,
Quaternion rotation
)
Parameters
- position
- Type: Vector3
New position. - velocity
- Type: Vector3
New velocity. - rotation
- Type: Quaternion
New rotation.
Remarks
Can be useful in situations where you disable the
StrixMovementSynchronizer to reset the data after re-enabling it.
Ignored, if called on a local object.
See Also