Vehicle Movement Synchronization

The Strix Unity SDK contains a specialized vehicle synchronizer component StrixVehicleMovemementSynchronizer. It is mostly suitable for cars and airplanes that don’t collide with other objects.

Properties

Name

Type

Description

positionTransform

Transform

What transform to use for position. Default is the current object.

rotationTransform

Transform

What transform to use for rotation. Default is the current object.

predictionTime

float

How far into the future to predict.

snapDistance

float

Acceptable difference from the target position to have reached it.

teleportDistance

float

Distance after which the object will teleport to the target position.

approximatorAcceleration

float

Acceleration value used in the approximator. Set this value to the object’s maximum acceleration.

approximatorAngularAcceleration

float

Angular acceleration value used in the approximator. Set this value to the object’s maximum angular acceleration.

updateMode

FixedUpdate or Update

Should be set accordingly to this object’s movement update setting.

AveragingWindowWidth

int

How many points to average position and rotation over. Default is 2 (no averaging). Ignored if updateMode is FixedUpdate