NavigationBuildConfig beta
Interface of @v12-engine/engine
export interface NavigationBuildConfigHow Recast is told to cut the ground: what the tile cache is generated with
Members
ch
ch: number;Recast's cell height, in world units: how finely the ground is voxelised vertically
cs
cs: number;Recast's cell size on the ground plane, in world units: how finely the ground is voxelised
detailSampleDist
detailSampleDist: number;How far apart the points are where the mesh's height is sampled
detailSampleMaxError
detailSampleMaxError: number;The most the mesh's height may differ from the ground between sampled points
expectedLayersPerTile
expectedLayersPerTile: number;How many layers of walkable space a tile is expected to have, for the tile cache's size
maxObstacles
maxObstacles: number;How many obstacles (buildings, shut gates) the tile cache has room for
maxSimplificationError
maxSimplificationError: number;The most the edges of the walkable regions' outlines may stray from the ground when simplified
maxVertsPerPoly
maxVertsPerPoly: number;The most vertices a polygon of the navigation mesh has
mergeRegionArea
mergeRegionArea: number;The smallest region that is kept apart; smaller ones are merged into a neighbour
tileSize
tileSize: number;The size of one tile of the tile cache, in cells
walkableClimb
walkableClimb: number;The most a unit can step up, as Recast takes it
walkableHeight
walkableHeight: number;The least height of open space a unit needs to stand in, as Recast takes it
walkableRadius
walkableRadius: number;How far the walkable area is kept from walls, as Recast takes it: the largest unit's radius
walkableSlopeAngle
walkableSlopeAngle: number;The steepest slope that is walkable, in degrees