Struct · Ara
Velocity
Authoritative velocity, synchronized at tick boundaries.
public struct Velocity : IComponent<Velocity>Properties
TypeIndex
public static uint TypeIndex { get; }Stable engine component index.
Fields
Linear
public Vector3 Linear;World-space linear velocity.
Unit: m/s. Default: [0,0,0]. Replicated to relevant clients.
Angular
public Vector3 Angular;World-space angular velocity.
Unit: rad/s. Default: [0,0,0]. Replicated to relevant clients.
Methods
Access
public static ref Velocity Access(Entity entity, bool write);No description yet.
Insert
public static void Insert(in Commands commands, Entity entity, in Velocity value);No description yet.
Contains
public static bool Contains(Entity entity);No description yet.