NavVolumeData
Defined in: ai/nav/NavVolume.ts:20
Properties
Section titled “Properties”agentHeight
Section titled “agentHeight”agentHeight:
number
Defined in: ai/nav/NavVolume.ts:32
Headroom an agent needs; ground with less is not walkable.
agentRadius
Section titled “agentRadius”agentRadius:
number
Defined in: ai/nav/NavVolume.ts:35
How wide the agent is. The mesh is pulled back from every wall by this, so a route over it clears the walls without the planner doing anything.
cellHeight
Section titled “cellHeight”cellHeight:
number
Defined in: ai/nav/NavVolume.ts:28
Voxel size vertically, in world pixels. This is what decides whether a balcony and the floor under it are two levels or one.
cellSize
Section titled “cellSize”cellSize:
number
Defined in: ai/nav/NavVolume.ts:25
Voxel size in the ground plane, in world pixels. Smaller is a mesh that hugs the geometry more closely, and a slower bake.
halfExtents
Section titled “halfExtents”halfExtents:
Vec3
Defined in: ai/nav/NavVolume.ts:22
Half-extents of the box, in world pixels; the entity’s Transform is its centre.
layers
Section titled “layers”layers:
number
Defined in: ai/nav/NavVolume.ts:39
Physics layers the ground is on; 0 = every layer.
maxSlopeDegrees
Section titled “maxSlopeDegrees”maxSlopeDegrees:
number
Defined in: ai/nav/NavVolume.ts:30
Steepest ground an agent can stand on, in degrees from level.
stepHeight
Section titled “stepHeight”stepHeight:
number
Defined in: ai/nav/NavVolume.ts:37
Height difference between neighbouring cells an agent can climb.