|PathEngine home||previous: ||next: |
std::unique_ptr<iAgent> placeAgent(const iShape& shape, const cPosition& position) const
|shape||The shape of the agent. This shape determines how the agent will collide.|
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),
Some discussion of PathEngine's runtime shape management functionality, in general, can be found here.
Agent placeAgent(Shape shape, PathEngine.Position position);
|Documentation for PathEngine release 6.00 - Copyright © 2002-2016 PathEngine||next: |