Ara
Download

Search or run a command

Jump to a section or open an Ara link.

Struct · Ara

PhysicsPose2d

World-space 2D pose, written back by the solver at every completed boundary.

public struct PhysicsPose2d : IComponent<PhysicsPose2d>

Properties

TypeIndex

public static uint TypeIndex { get; }

Stable engine component index.

Fields

Position

public Vector2 Position;

Body origin or character capsule centre, in world space.

Unit: m. Default: [0,0]. Replicated to relevant clients.

Rotation

public float Rotation;

Counter-clockwise rotation about +Z.

Unit: rad. Default: 0. Replicated to relevant clients.

Methods

Access

public static ref PhysicsPose2d Access(Entity entity, bool write);

No description yet.

Insert

public static void Insert(in Commands commands, Entity entity, in PhysicsPose2d value);

No description yet.

Contains

public static bool Contains(Entity entity);

No description yet.