Skip to content

NavigationBuildConfig beta ​

Interface of @v12-engine/engine

ts
export interface NavigationBuildConfig

How Recast is told to cut the ground: what the tile cache is generated with

Members ​

ch ​

ts
ch: number;

Recast's cell height, in world units: how finely the ground is voxelised vertically

cs ​

ts
cs: number;

Recast's cell size on the ground plane, in world units: how finely the ground is voxelised

detailSampleDist ​

ts
detailSampleDist: number;

How far apart the points are where the mesh's height is sampled

detailSampleMaxError ​

ts
detailSampleMaxError: number;

The most the mesh's height may differ from the ground between sampled points

expectedLayersPerTile ​

ts
expectedLayersPerTile: number;

How many layers of walkable space a tile is expected to have, for the tile cache's size

maxObstacles ​

ts
maxObstacles: number;

How many obstacles (buildings, shut gates) the tile cache has room for

maxSimplificationError ​

ts
maxSimplificationError: number;

The most the edges of the walkable regions' outlines may stray from the ground when simplified

maxVertsPerPoly ​

ts
maxVertsPerPoly: number;

The most vertices a polygon of the navigation mesh has

mergeRegionArea ​

ts
mergeRegionArea: number;

The smallest region that is kept apart; smaller ones are merged into a neighbour

tileSize ​

ts
tileSize: number;

The size of one tile of the tile cache, in cells

walkableClimb ​

ts
walkableClimb: number;

The most a unit can step up, as Recast takes it

walkableHeight ​

ts
walkableHeight: number;

The least height of open space a unit needs to stand in, as Recast takes it

walkableRadius ​

ts
walkableRadius: number;

How far the walkable area is kept from walls, as Recast takes it: the largest unit's radius

walkableSlopeAngle ​

ts
walkableSlopeAngle: number;

The steepest slope that is walkable, in degrees