Navigation
API > API/Runtime > API/Runtime/Navmesh
Represents an agent managed by a dtCrowd object.
| Name | dtCrowdAgent |
| Type | struct |
| Header File | /Engine/Source/Runtime/Navmesh/Public/DetourCrowd/DetourCrowd.h |
| Include Path | #include "DetourCrowd/DetourCrowd.h" |
Syntax
struct dtCrowdAgent
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| active | unsigned char | 1 if the agent is active, or 0 if the agent is in an unused slot in the agent pool. | DetourCrowd/DetourCrowd.h | |
| boundary | dtLocalBoundary | The local boundary data for the agent. | DetourCrowd/DetourCrowd.h | |
| cornerFlags | unsigned char | The local path corridor corner flags. (See: dtStraightPathFlags) [(flags) * ncorners]. | DetourCrowd/DetourCrowd.h | |
| cornerPolys | dtPolyRef | The reference id of the polygon being entered at the corner. [(polyRef) * ncorners]. | DetourCrowd/DetourCrowd.h | |
| cornerVerts | dtReal | The local path corridor corners for the agent. (Staight path.) [(x, y, z) * ncorners]. | DetourCrowd/DetourCrowd.h | |
| corridor | dtPathCorridor | The path corridor the agent is using. | DetourCrowd/DetourCrowd.h | |
| desiredSpeed | dtReal | The desired speed. | DetourCrowd/DetourCrowd.h | |
| disp | dtReal | DetourCrowd/DetourCrowd.h | ||
| dvel | dtReal | The desired velocity of the agent. [(x, y, z)]. | DetourCrowd/DetourCrowd.h | |
| ncorners | int | The number of corners. | DetourCrowd/DetourCrowd.h | |
| neis | dtCrowdNeighbour | The known neighbors of the agent. | DetourCrowd/DetourCrowd.h | |
| nneis | int | The number of neighbors. | DetourCrowd/DetourCrowd.h | |
| npos | dtReal | The current agent position. [(x, y, z)]. | DetourCrowd/DetourCrowd.h | |
| nvel | dtReal | DetourCrowd/DetourCrowd.h | ||
| params | dtCrowdAgentParams | The agent's configuration parameters. | DetourCrowd/DetourCrowd.h | |
| state | unsigned char | The type of mesh polygon the agent is traversing. (See: CrowdAgentState) | DetourCrowd/DetourCrowd.h | |
| targetPathqRef | dtPathQueueRef | Path finder ref. | DetourCrowd/DetourCrowd.h | |
| targetPos | dtReal | DetourCrowd/DetourCrowd.h | ||
| targetRef | dtPolyRef | Target polyref of the movement request. | DetourCrowd/DetourCrowd.h | |
| targetReplan | unsigned char | Flag indicating that the current path is being replanned. | DetourCrowd/DetourCrowd.h | |
| targetReplanTime | dtReal | DetourCrowd/DetourCrowd.h | ||
| targetState | unsigned char | State of the movement request. | DetourCrowd/DetourCrowd.h | |
| topologyOptTime | dtReal | Time since the agent's path corridor was optimized. | DetourCrowd/DetourCrowd.h | |
| vel | dtReal | The actual velocity of the agent. [(x, y, z)]. | DetourCrowd/DetourCrowd.h |