| PathEngine home | previous: | next: |
Draws and indicator to show which way an agent is facing.
void drawAgentHeading(iAgent* agent, tSigned32 size, tSigned32 height, float heading);
|
| agent |
The object will be drawn at this agent's current position. The agent must be on the currently set mesh. | ||
| size | Controls the size of the indicator. | ||
| height | Specifies the height at which to place the indicator. Set this to the same value as was used to draw the agent. |
To draw an agent with a heading indicator,
call
If there is no currently set mesh then this function returns with no effect.
The indicator will be drawn in the testbed's current colour.
| Documentation for PathEngine release 5.17 - Copyright © 2002-2008 PathEngine | next: |