Repository navigation
API Class Navigation
Defined in: src/plugins/navigation/runtime/Navigation.ts:52
new Navigation(): Navigation;Navigation
get static debug(): NavDebugSettings;Defined in: src/plugins/navigation/runtime/Navigation.ts:92
What the navigation debug drawing shows in this World (toggle fields; drawing reads them).
get static isReady(): boolean;Defined in: src/plugins/navigation/runtime/Navigation.ts:87
True once this World's navigation has loaded.
boolean
get static loadedChunks(): string[];Defined in: src/plugins/navigation/runtime/Navigation.ts:82
The ids of the chunks loaded in this World.
string[]
static findPath(
from,
to,
agentType?
): NavPathResult;Defined in: src/plugins/navigation/runtime/Navigation.ts:54
A path from from to to for an agent type: walking, flying or hybrid by the type's abilities.
string = ""
static isReachable(
from,
to,
agentType?
): boolean;Defined in: src/plugins/navigation/runtime/Navigation.ts:66
True if an agent of the type can get from from to to.
string = ""
boolean
static nearestPoint(
point,
agentType?,
maxDistance?
): NavNearestPoint | null;Defined in: src/plugins/navigation/runtime/Navigation.ts:60
The nearest walkable point (or free air, for fly-only types) within maxDistance; null if none.
string = ""
number = 2
NavNearestPoint | null
static raycast(
from,
to,
agentType?
): NavRaycastHit | null;Defined in: src/plugins/navigation/runtime/Navigation.ts:71
Walks the navmesh surface from from towards to; null if from isn't on the navmesh.
string = ""
NavRaycastHit | null
static setAreaCost(area, cost): void;Defined in: src/plugins/navigation/runtime/Navigation.ts:77
This World's cost for an area (over its default, under agents' own areaCosts), or "excluded".
string
number | "excluded"
void
This wiki is generated from docs/wiki/ and the myco module's source on every push to master. Change pages there in a pull request: edits made here are not kept.
Basics
Gameplay
Rendering
Audio
- Playing sound
- Why is there no sound?
- Playlists
- Interactive music
- Sound generators
- Spatial audio
- Audio mixer
- Live mixing
- Loudness
- Audio profiler
- Audio takes
Reference