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