| PathEngine home | previous: | next: |
Constructs an
This version enables shapes to be placed without the application of the usual
range constraint on iShape instances.
iAgent* placeLargeStaticObstacle(tSigned32 numberOfPoints, const tSigned32* coordinateData, const cPosition& position) const; |
| numberOfPoints | The number of vertices in the shape. | ||
| coordinateData | Points to an array of tSigned32, of size numberOfPoints * 2. This array is copied, and can therefore be safely deleted after the call returns. | ||
| position |
A root position to determine which parts of any overlapping geometry are affected by the shape. This must be a valid position on this mesh, and must be inside the boundary of the supplied shape. |
The shape coordinates passed in are in pathfinding 'world coordinates', i.e. they are not relative to the supplied root position.
The shape passed in is subject to validation constraints,
similar to the constraints on iShape creation, but with a much larger permitted range.
Refer to
If there is a possibility that the coordinates to be passed in to this method may not
be valid with respect to these constraints then this should be checked with
The created
| Documentation for PathEngine release 5.16 - Copyright © 2002-2008 PathEngine | next: |