Skip to content

API Interface CollisionFlags

github-actions[bot] edited this page Nov 24, 2026 · 1 revision

Interface: CollisionFlags

Defined in: src/engine/physics/types.ts:70

Which sides of a CharacterController touched something during its last move (ADR 0091).

Properties

above

readonly above: boolean;

Defined in: src/engine/physics/types.ts:76

Touched a ceiling.


below

readonly below: boolean;

Defined in: src/engine/physics/types.ts:72

Touched ground it can stand on (or is snapped to it).


sides

readonly sides: boolean;

Defined in: src/engine/physics/types.ts:74

Touched a wall or a slope too steep to climb.

Clone this wiki locally