PathfinderMapComp:

navigate(origin: Vec2, target: Vec2, navigationOpt: any): Vec2[] | undefined

Get navigation waypoints to reach the given target from the given origin.

graph: Graph | undefined

The graph to use for navigation.

kaplay logo

Misc

Layer