Function generateTiledNavMesh
- generateTiledNavMesh(positions, indices, navMeshGeneratorConfig?, keepIntermediates?): GenerateTiledNavMeshResult
Parameters
- positions: ArrayLike<number>
- indices: ArrayLike<number>
Optional
navMeshGeneratorConfig: Partial<{
borderSize: number;
bounds?: [bbMin: Vector3Tuple, bbMax: Vector3Tuple];
buildBvTree?: boolean;
ch: number;
chunkyTriMeshTrisPerChunk?: number;
cs: number;
detailSampleDist: number;
detailSampleMaxError: number;
maxEdgeLen: number;
maxSimplificationError: number;
maxVertsPerPoly: number;
mergeRegionArea: number;
minRegionArea: number;
offMeshConnections?: OffMeshConnectionParams[];
tileSize: number;
walkableClimb: number;
walkableHeight: number;
walkableRadius: number;
walkableSlopeAngle: number;
}>Optional
keepIntermediates: boolean
Builds a Tiled NavMesh