five-on-it / packages/ai/src/steer-climb / LinkStep
Interface: LinkStep
Defined in: packages/ai/src/steer-climb.ts:97
One tick of taking a link: a heading to walk (far from it), or the whole input (at it); done, or failed.
Properties
done
done:
boolean
Defined in: packages/ai/src/steer-climb.ts:104
The link is taken: the walk goes on from its other end.
dx
dx:
number
Defined in: packages/ai/src/steer-climb.ts:99
The unit heading of an ordinary walk to the link's start (0, 0 with input).
dz
dz:
number
Defined in: packages/ai/src/steer-climb.ts:100
failed
failed:
boolean
Defined in: packages/ai/src/steer-climb.ts:106
The link could not be taken: it is dear for a while, and the walk planned again.
input?
optionalinput?:ClimbInput
Defined in: packages/ai/src/steer-climb.ts:102
The whole input while at the link, written as it is.