Click or drag to resize

StrixVehicleMovementSynchronizerPredictionData Structure

Prediction data that can be used to calculate extrapolated position and rotation of the vehicle.

Namespace:  SoftGear.Strix.Unity.Runtime
Assembly:  StrixUnityRuntime (in StrixUnityRuntime.dll) Version: 1.5.0
Syntax
C#
public readonly struct PredictionData

The StrixVehicleMovementSynchronizerPredictionData type exposes the following members.

Fields
  NameDescription
Public fieldCurrentPosition
Predicted position of the vehicle at this point in time.
Public fieldFuturePosition
Predicted position of the vehicle at some point in the future based on predictionTime.
Public fieldFutureRotation
Predicted rotation of the vehicle at some point in the future based on predictionTime.
Public fieldTimeDelta
How many seconds ago the vehicle was at currentPosition with currentVelocity, currentAcceleration, currentAngularVelocity, and currentAngularAcceleration.
Top
See Also