Skip to content

Path

const Path: Trait<{ corners: () => Vector3[]; destination: () => Vector3; }>

Defined in: packages/engine/src/gameplay/hero/traits.ts:75

Where she is walking: the corners of a navmesh path with the nearest first, and the point asked for, which the corners reach only where a route to it exists. Empty corners are standing: reaching one takes it off the front, and the player’s own steer empties the rest.