Navigation
API > API/Runtime > API/Runtime/Navmesh > API/Runtime/Navmesh/DetourCrowd
References
| Module | Navmesh |
| Header | /Engine/Source/Runtime/Navmesh/Public/DetourCrowd/DetourCrowd.h |
| Include | #include "DetourCrowd/DetourCrowd.h" |
Syntax
struct dtCrowdAgentParams
Remarks
Configuration parameters for a crowd agent.
Variables
| Type | Name | Description | |
|---|---|---|---|
| unsigned int | avoidanceGroup | [UE] Groups flags attached to the agent | |
| dtReal | avoidanceQueryMultiplier | [UE] Mutliplier for avoidance velocities | |
| dtReal | collisionQueryRange | Defines how close a collision element must be before it is considered for steering behaviors. [Limits: > 0]. | |
| unsigned char | filter | UE: Id of navigation filter used by this agent [Limits: 0 <= value <= #DT_CROWD_MAX_FILTERS] | |
| unsigned int | groupsToAvoid | [UE] Avoid agents when they group is matching mask | |
| unsigned int | groupsToIgnore | [UE] Don't avoid agents when they group is matching mask | |
| dtReal | height | Agent height. [Limit: > 0]. | |
| TSharedPtr< dtQuerySpecialLinkFilter > | linkFilter | UE: special link filter used by this agent. | |
| dtReal | maxAcceleration | Maximum allowed acceleration. [Limit: >= 0]. | |
| dtReal | maxSpeed | Maximum allowed speed. [Limit: >= 0]. | |
| unsigned char | obstacleAvoidanceType | The index of the avoidance configuration to use for the agent. | |
| dtReal | pathOptimizationRange | The path visibility optimization range. [Limit: > 0]. | |
| dtReal | radius | Agent radius. [Limit: >= 0]. | |
| dtReal | separationWeight | How aggresive the agent manager should be at avoiding collisions with this agent. [Limit: >= 0]. | |
| unsigned short | updateFlags | Flags that impact steering behavior. (See: UpdateFlags) | |
| void * | userData | User defined data attached to the agent. |