Skip to content

Navigation

Defined in: ai/nav/Navigation.ts:17

new Navigation(): Navigation

Navigation

surface: NavSurface | null = null

Defined in: ai/nav/Navigation.ts:19

Where agents may walk, or null until something builds and installs it.

findWorldPath(from, to, opts?): Vec3[] | null

Defined in: ai/nav/Navigation.ts:33

Plan a world-space route, or null if there is no surface or no way. See NavSurface.findWorldPath for what the waypoints carry.

NavPoint

NavPoint

NavQueryOptions

Vec3[] | null


hasSurface(): boolean

Defined in: ai/nav/Navigation.ts:25

boolean


setSurface(surface): void

Defined in: ai/nav/Navigation.ts:21

NavSurface | null

void