com.onlineobject.objectnet Namespace

PredictionPacket Fields

The PredictionPacket type exposes the following members.

Fields


  Name Description
Public field deltaTime
The time in seconds since the last update. This is used to calculate the new predicted position based on the last known velocity and direction.
Public field latency
The latency of the client in seconds. This is used to adjust predictions to account for network delay.
Public field position
The predicted position of the entity in a 3D space.