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