Skip to content

five-on-it / packages/ai/src/steer-foot / FootStep

Interface: FootStep ​

Defined in: packages/ai/src/steer-foot.ts:197

Where a walk heads this tick: a unit heading, whether it is over, and the whole input while a link is taken.

Properties ​

arrived ​

arrived: boolean

Defined in: packages/ai/src/steer-foot.ts:202

The walk is over: at its goal, or as near as it gets to a goal it cannot reach.


dx ​

dx: number

Defined in: packages/ai/src/steer-foot.ts:199

The unit heading (0, 0 standing or with input).


dz ​

dz: number

Defined in: packages/ai/src/steer-foot.ts:200


input? ​

optional input?: ClimbInput

Defined in: packages/ai/src/steer-foot.ts:204

At a link (a ladder, a lift…): the whole input, written as it is, no rays, no stuck recovery.