recast-navigation-js
    Preparing search index...

    Type Alias CrowdAgentParams

    type CrowdAgentParams = {
        collisionQueryRange: number;
        height: number;
        maxAcceleration: number;
        maxSpeed: number;
        obstacleAvoidanceType: number;
        pathOptimizationRange: number;
        queryFilterType: number;
        radius: number;
        separationWeight: number;
        updateFlags: number;
        userData: unknown;
    }

    Implemented by

    Index
    collisionQueryRange: number

    Defines how close a collision element must be before it is considered for steering behaviors. [Limits: > 0]

    2.5
    
    height: number

    The height of the agent.

    1
    
    maxAcceleration: number

    The maximum allowed acceleration for the agent.

    20
    
    maxSpeed: number

    The maximum allowed speed for the agent.

    6
    
    obstacleAvoidanceType: number

    The index of the avoidance configuration to use for the agent. [Limits: 0 <= value <= #DT_CROWD_MAX_OBSTAVOIDANCE_PARAMS]

    0
    
    pathOptimizationRange: number

    The path visibility optimization range. [Limit: > 0]

    0
    
    queryFilterType: number

    The index of the query filter used by this agent.

    0
    
    radius: number

    The radius of the agent.

    0.5
    
    separationWeight: number

    How aggresive the agent manager should be at avoiding collisions with this agent. [Limit: >= 0]

    0
    
    updateFlags: number

    Flags that impact steering behavior.

    7
    
    userData: unknown

    User defined data attached to the agent.

    0