Skip to content

Mirror::Experimental::NetworkRigidbody2D::ClientSyncState

holds previously synced values

Public Attributes

Name
float nextSyncTime
Next sync time that velocity will be synced, based on syncInterval.
Vector2 velocity
float angularVelocity
bool isKinematic
float gravityScale
float drag
float angularDrag

Public Attributes Documentation

variable nextSyncTime

float nextSyncTime;

Next sync time that velocity will be synced, based on syncInterval.

variable velocity

Vector2 velocity;

variable angularVelocity

float angularVelocity;

variable isKinematic

bool isKinematic;

variable gravityScale

float gravityScale;

variable drag

float drag;

variable angularDrag

float angularDrag;

Updated on 20 January 2021 at 20:00:04 UTC