Skip to content

BakeNavMeshOptions

Defined in: packages/engine/src/gameplay/map/navMesh.ts:23

Property Type Description
body ObstacleBody Who the floor is cut for: recast’s walkable terms come from her.
ground Mesh The walkable floor. The library updates its world matrix and reads its triangles through it, so the ground’s own rotation is applied here.
obstacles BufferGeometry<NormalBufferAttributes, BufferGeometryEventMap> | null What is cut out of that floor, already in world coordinates, or null where nothing blocks.