Skip to content

NavVolumeData

Defined in: ai/nav/NavVolume.ts:20

agentHeight: number

Defined in: ai/nav/NavVolume.ts:32

Headroom an agent needs; ground with less is not walkable.


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: 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: 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: Vec3

Defined in: ai/nav/NavVolume.ts:22

Half-extents of the box, in world pixels; the entity’s Transform is its centre.


layers: number

Defined in: ai/nav/NavVolume.ts:39

Physics layers the ground is on; 0 = every layer.


maxSlopeDegrees: number

Defined in: ai/nav/NavVolume.ts:30

Steepest ground an agent can stand on, in degrees from level.


stepHeight: number

Defined in: ai/nav/NavVolume.ts:37

Height difference between neighbouring cells an agent can climb.