Click or drag to resize

StrixVehicleMovementSynchronizer Fields

The StrixVehicleMovementSynchronizer type exposes the following members.

Fields
  NameDescription
Public fieldapproximatorAcceleration
Acceleration value used in the approximator. Set this value to the object's maximum acceleration.
Public fieldapproximatorAngularAcceleration
Angular acceleration value used in the approximator. Set this value to the object's maximum angular acceleration.
Public fieldAveragingWindowWidth
Determines how many frames of position history will be used when calculating velocity. Only used when UpdateMode is set to Update. Minimum value is 2. When set to 2, no averaging is applied.
Public fieldpositionTransform
Transform used to calculate and apply position. If not set current gameObject's transform is used.
Public fieldpredictionTime
Determines how far into the future the position is predicted. This value infulences the smoothness of the approximated trajectory.
Public fieldrotationTransform
Transform used to calculate and apply rotation. If not set current gameObject's transform is used.
Public fieldsnapDistance
Used to determine if the object reached the target position.
Public fieldteleportDistance
Used to determine if the object should be teleported to the target position.
Public fieldupdateMode
If you update position and rotation of the vehicle in update, should be set to Update. If you update position and rotation of the vehicle in FixedUpdate, should be set to FixedUpdate.
Top
See Also