com.onlineobject.objectnet Namespace

PositionPacket Members

The PositionPacket type exposes the following members.

Constructors


  Name Description
Public method PositionPacket(Int32, Boolean, Vector3)
Initializes a new instance of the PositionPacket class with specified parameters.
Public method PositionPacket(Int32, Boolean, Vector3, Single, Vector3)
Initializes a new instance of the PositionPacket class with specified parameters, including delta time and linear velocity.

Properties


  Name Description
Public property DeltaTime
Gets the time elapsed since the last position update.
Public property IsTeleport
Gets a value indicating whether the position change was a result of a teleport.
Public property LinearVelocity
Gets the linear velocity of the object.
Public property Position
Gets the position of the object in 3D space.
Public property Tick
Gets the simulation tick at which the position is recorded.