| PathEngine home | previous: | next: |
Draws a polygonal object to represent an agent on the testbed's current mesh.
void drawAgent(iAgent* agent, tSigned32 height);
|
| agent |
The object will be drawn with this agent's shape and at this agent's current position. The agent must be on the currently set mesh. | ||
| height | Specifies how tall to make the object. |
Agents are drawn as prisms constructed by extruding their collision shape vertically by height.
To draw an agent with a heading indicator,
call this method followed by
If there is no currently set mesh then this function returns with no effect.
The agent will be drawn in the testbed's current colour.
| Documentation for PathEngine release 5.24 - Copyright © 2002-2010 PathEngine | next: |