navcat docs
    Preparing search index...

    Type Alias Crowd

    type Crowd = {
        agentIdCounter: number;
        agentPlacementHalfExtents: Vec3;
        agents: Record<string, Agent>;
        maxAgentRadius: number;
        maxIterationsPerAgent: number;
        maxIterationsPerUpdate: number;
        quickSearchIterations: number;
    }
    Index

    Properties

    agentIdCounter: number
    agentPlacementHalfExtents: Vec3
    agents: Record<string, Agent>
    maxAgentRadius: number
    maxIterationsPerAgent: number

    Maximum pathfinding iterations per agent per update. Limits how much CPU time a single agent can consume.

    200
    
    maxIterationsPerUpdate: number

    Maximum pathfinding iterations distributed across all agents per update. Higher values allow more agents to complete pathfinding faster but increase CPU cost.

    600
    
    quickSearchIterations: number

    Initial quick search iterations when pathfinding request starts. Helps find short paths immediately, and is used as the initial partial corridor to start moving towards the target while the full path is still being computed.

    20