Returns the local path corridor corners for the agent
The desired velocity of the agent. Based on the current path, calculated from scratch each frame.
The desired velocity adjusted by obstacle avoidance, calculated from scratch each frame.
Returns the next target position on the path to the target
Returns whether the agent is over an off-mesh connection.
Returns the agents parameters.
The position of the agent.
Updates the agent's target.
The new target position.
True if the request was successful.
Submits a new move request for the specified agent.
The desired velocity of the agent.
True if the request was successful.
Resets the current move request for the specified agent.
Sets the agent's parameters. Any parameters not specified in the crowdAgentParams object will be set to their default values.
agent parameters
Returns the state of the agent.
0 = DT_CROWDAGENT_STATE_INVALID 1 = DT_CROWDAGENT_STATE_WALKING 2 = DT_CROWDAGENT_STATE_OFFMESH
Returns the next target position on the path to the target
Updates the agent's parameters. Any parameters not specified in the crowdAgentParams object will be unchanged.
agent parameters to update.
The actual velocity of the agent. The change from velocityDesiredObstacleAdjusted -> velocity is constrained by max acceleration.
The interpolated position of the agent.
Use this if stepping the crowd with interpolation. This will not be updated if stepping the crowd without interpolation.