Skip to content

Neighbor

Defined in: src/modules/steering/steering.ts:10

A neighbour as steering sees it: a plain position + velocity pair. Deliberately ECS-decoupled — the caller builds these from whatever store / spatial index it uses, so steering stays a pure math layer.

position: Vec2

Defined in: src/modules/steering/steering.ts:11


velocity: Vec2

Defined in: src/modules/steering/steering.ts:12