Ara
Download

Search or run a command

Jump to a section or open an Ara link.

Struct · Ara

CharacterMotion2d

Character support mirrored at every fixed boundary.

public struct CharacterMotion2d : IComponent<CharacterMotion2d>

Properties

TypeIndex

public static uint TypeIndex { get; }

Stable engine component index.

Fields

Grounded

public bool Grounded;

Walkable ground support after the last move.

Default: false. Replicated to the owning client.

GroundNormal

public Vector2 GroundNormal;

Supporting surface normal; zero while airborne.

Default: [0,0]. Replicated to the owning client.

Methods

Access

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

No description yet.

Insert

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

No description yet.

Contains

public static bool Contains(Entity entity);

No description yet.