Planeshift
|
Represents an agent managed by a dtCrowd object. More...
#include <DetourCrowd.h>
Public Attributes | |
unsigned char | active |
1 if the agent is active, or 0 if the agent is in an unused slot in the agent pool. More... | |
dtLocalBoundary | boundary |
The local boundary data for the agent. More... | |
unsigned char | cornerFlags [DT_CROWDAGENT_MAX_CORNERS] |
The local path corridor corner flags. (See: dtStraightPathFlags) [(flags) * ncorners]. More... | |
dtPolyRef | cornerPolys [DT_CROWDAGENT_MAX_CORNERS] |
The reference id of the polygon being entered at the corner. [(polyRef) * ncorners]. More... | |
float | cornerVerts [DT_CROWDAGENT_MAX_CORNERS *3] |
The local path corridor corners for the agent. (Staight path.) [(x, y, z) * ncorners]. More... | |
dtPathCorridor | corridor |
The path corridor the agent is using. More... | |
float | desiredSpeed |
The desired speed. More... | |
float | disp [3] |
float | dvel [3] |
The desired velocity of the agent. [(x, y, z)]. More... | |
int | ncorners |
The number of corners. More... | |
dtCrowdNeighbour | neis [DT_CROWDAGENT_MAX_NEIGHBOURS] |
The known neighbors of the agent. More... | |
int | nneis |
The number of neighbors. More... | |
float | npos [3] |
The current agent position. [(x, y, z)]. More... | |
float | nvel [3] |
dtCrowdAgentParams | params |
The agent's configuration parameters. More... | |
unsigned char | state |
The type of mesh polygon the agent is traversing. (See: CrowdAgentState) More... | |
dtPathQueueRef | targetPathqRef |
Path finder ref. More... | |
float | targetPos [3] |
Target position of the movement request (or velocity in case of DT_CROWDAGENT_TARGET_VELOCITY). More... | |
dtPolyRef | targetRef |
Target polyref of the movement request. More... | |
bool | targetReplan |
Flag indicating that the current path is being replanned. More... | |
float | targetReplanTime |
unsigned char | targetState |
State of the movement request. More... | |
float | topologyOptTime |
Time since the agent's path corridor was optimized. More... | |
float | vel [3] |
The actual velocity of the agent. [(x, y, z)]. More... | |
Represents an agent managed by a dtCrowd object.
Definition at line 107 of file DetourCrowd.h.
unsigned char dtCrowdAgent::active |
1 if the agent is active, or 0 if the agent is in an unused slot in the agent pool.
Definition at line 110 of file DetourCrowd.h.
dtLocalBoundary dtCrowdAgent::boundary |
The local boundary data for the agent.
Definition at line 119 of file DetourCrowd.h.
unsigned char dtCrowdAgent::cornerFlags[DT_CROWDAGENT_MAX_CORNERS] |
The local path corridor corner flags. (See: dtStraightPathFlags) [(flags) * ncorners].
Definition at line 146 of file DetourCrowd.h.
dtPolyRef dtCrowdAgent::cornerPolys[DT_CROWDAGENT_MAX_CORNERS] |
The reference id of the polygon being entered at the corner. [(polyRef) * ncorners].
Definition at line 149 of file DetourCrowd.h.
float dtCrowdAgent::cornerVerts[DT_CROWDAGENT_MAX_CORNERS *3] |
The local path corridor corners for the agent. (Staight path.) [(x, y, z) * ncorners].
Definition at line 143 of file DetourCrowd.h.
dtPathCorridor dtCrowdAgent::corridor |
The path corridor the agent is using.
Definition at line 116 of file DetourCrowd.h.
float dtCrowdAgent::desiredSpeed |
The desired speed.
Definition at line 131 of file DetourCrowd.h.
float dtCrowdAgent::disp[3] |
Definition at line 134 of file DetourCrowd.h.
float dtCrowdAgent::dvel[3] |
The desired velocity of the agent. [(x, y, z)].
Definition at line 135 of file DetourCrowd.h.
int dtCrowdAgent::ncorners |
The number of corners.
Definition at line 152 of file DetourCrowd.h.
dtCrowdNeighbour dtCrowdAgent::neis[DT_CROWDAGENT_MAX_NEIGHBOURS] |
The known neighbors of the agent.
Definition at line 125 of file DetourCrowd.h.
int dtCrowdAgent::nneis |
The number of neighbors.
Definition at line 128 of file DetourCrowd.h.
float dtCrowdAgent::npos[3] |
The current agent position. [(x, y, z)].
Definition at line 133 of file DetourCrowd.h.
float dtCrowdAgent::nvel[3] |
Definition at line 136 of file DetourCrowd.h.
dtCrowdAgentParams dtCrowdAgent::params |
The agent's configuration parameters.
Definition at line 140 of file DetourCrowd.h.
unsigned char dtCrowdAgent::state |
The type of mesh polygon the agent is traversing. (See: CrowdAgentState)
Definition at line 113 of file DetourCrowd.h.
dtPathQueueRef dtCrowdAgent::targetPathqRef |
Path finder ref.
Definition at line 157 of file DetourCrowd.h.
float dtCrowdAgent::targetPos[3] |
Target position of the movement request (or velocity in case of DT_CROWDAGENT_TARGET_VELOCITY).
Definition at line 156 of file DetourCrowd.h.
dtPolyRef dtCrowdAgent::targetRef |
Target polyref of the movement request.
Definition at line 155 of file DetourCrowd.h.
bool dtCrowdAgent::targetReplan |
Flag indicating that the current path is being replanned.
Definition at line 158 of file DetourCrowd.h.
float dtCrowdAgent::targetReplanTime |
Definition at line 159 of file DetourCrowd.h.
unsigned char dtCrowdAgent::targetState |
State of the movement request.
Definition at line 154 of file DetourCrowd.h.
float dtCrowdAgent::topologyOptTime |
Time since the agent's path corridor was optimized.
Definition at line 122 of file DetourCrowd.h.
float dtCrowdAgent::vel[3] |
The actual velocity of the agent. [(x, y, z)].
Definition at line 137 of file DetourCrowd.h.