| PathEngine home | previous: | next: |
Tests whether a specified shape at a specified position will obstruct the agent.
bool testCollisionDirectlyAgainstPlacedShape(iShape* shape, const cPosition& shapePosition) const; |
| shape | The shape for against which to test collision. | ||
| shapePosition | The position for that shape. This position must be a valid position on the agent's mesh. |
Requires that that the agent is moveable and that collision preprocess has been generated on the agent's mesh for the agent's collision shape.
Assumes that this agent is not in collision with the external edges of the mesh.
If this method is called with an agent that is in collision with the external edges of the mesh then the
return value is undefined.
See
| Documentation for PathEngine release 5.18 - Copyright © 2002-2008 PathEngine | next: |