PathEngine home | previous: | next: |
Adds boundaries corresponding to the set of obstacles in a context to the mesh's base circuits.
void burnContextIntoMesh(const iCollisionContext& context); |
context | A context specifying the set of obstacles to be burnt in. |
This method may only be called before any preprocess has been generated on this mesh.
It may not be called after calling
After this call,
the obstacles in context will be included for all pathfinding
or collision queries made on this mesh
(and should not therefore also be added as dynamic obstacles).
Calling
Only obstacles added directly to this context will be burnt in.
If you call this method for a context with obstacle sets added then a warning will be emitted,
and the obstacle sets ignored.
Any surface type based cost information set for the context will also be burnt in to the mesh.
void burnContextIntoMesh(CollisionContext context); |
Documentation for PathEngine release 6.04 - Copyright © 2002-2024 PathEngine | next: |