| PathEngine home | previous: | next: |
Enables the application to force generation of collision preprocess associated with the obstacle set.
void updateCollisionPreprocessFor(iShape* shape) const; |
| shape | The shape for which collision preprocess should be generated. |
Collision preprocess must have been generated for the shape on the mesh for which this obstacle set was created.
An obstacle set contains preprocess relating to the contained obstacles.
This preprocess is automatically updated when required by a pathfinding or collision query.
There is some cost for generating this preprocess,
so this call enables the client application to force the preprocess to be updated in advance
of queries requiring the preprocess if desired.
Note that this preprocess is partially invalidated when the set of agents
changes or when agents in the set are moved.
It is inefficient to update this preprocess if it will subsequently be invalidated before being used in any queries.
| Documentation for PathEngine release 5.18 - Copyright © 2002-2008 PathEngine | next: |