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

Type declaration

  • collisionQueryRange: number

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

    Default

    2.5
    
  • height: number

    The height of the agent.

    Default

    1
    
  • maxAcceleration: number

    The maximum allowed acceleration for the agent.

    Default

    20
    
  • maxSpeed: number

    The maximum allowed speed for the agent.

    Default

    6
    
  • obstacleAvoidanceType: number

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

    Default

    0
    
  • pathOptimizationRange: number

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

    Default

    0
    
  • queryFilterType: number

    The index of the query filter used by this agent.

    Default

    0
    
  • radius: number

    The radius of the agent.

    Default

    0.5
    
  • separationWeight: number

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

    Default

    0
    
  • updateFlags: number

    Flags that impact steering behavior.

    Default

    7
    
  • userData: unknown

    User defined data attached to the agent.

    Default

    0