PathEngine home previous: Pathfinding Queriesnext: Aborting Pathfinding Early
Contents, Programmers Guide, Applying the SDK, Limiting the Scope for Pathfinding

Limiting the Scope for Pathfinding

The following methods (on Interface iCollisionContext) enable restrictions to be placed on the scope within which pathfinding queries will search:

When query bounds have been set PathEngine is will discard paths that cross outside these bounds.
The bounds are applied as a hard constraint, so PathEngine will not return paths that cross outside the bounds.

Note that query bounds only affect pathfinding, and do not affect closest unobstructed point queries or collision.

Setting query bounds can make a big difference to performance, particularly in cases where it is necessary to work with large numbers of dynamic obstacles.

Documentation for PathEngine release 6.00 - Copyright © 2002-2016 PathEnginenext: Aborting Pathfinding Early