| PathEngine home | previous: | next: |
Constructs an
iAgent* placeAgent(const iShape* shape, const cPosition& position) const; |
| shape | The shape of the agent. This shape determines how the agent will collide. | ||
| position |
Where to place the agent. This must be a valid position on this mesh. |
When an iAgent object is going to be used purely as an obstruction
(i.e. the agent will not subsequently be moved,
and no collision or pathfinding queries are going to be made through the agent),
consider using
The created
Some discussion of PathEngine's runtime shape management functionality, in general, can be found here.
| Documentation for PathEngine release 5.24 - Copyright © 2002-2010 PathEngine | next: |