Recast.js
    Preparing search index...

    Interface RecastSettings

    Navigation mesh configuration passed to RecastModule.settings.

    interface RecastSettings {
        cellSize: number;
        cellHeight: number;
        agentHeight: number;
        agentRadius: number;
        agentMaxClimb: number;
        agentMaxSlope: number;
    }
    Index

    Properties

    cellSize: number

    Cell size in world units, should be >= 0.0001. Smaller = higher resolution. Default: 0.3

    cellHeight: number

    Cell height in world units, should be >= 0.0001. Smaller = more vertical precision. Default: 0.2

    agentHeight: number

    Agent height in world units, should be >= 0.0. Also the minimum floor-to-ceiling height for a walkable area. Default: 2.0

    agentRadius: number

    Agent radius (determines clearance from walls). Default: 0.4

    agentMaxClimb: number

    Maximum step height an agent can climb. Default: 0.9

    agentMaxSlope: number

    Maximum walkable slope in degrees. Default: 45