| PathEngine home | previous: | next: |
Used to create free standing sets of obstacles, that can then be combined in collision contexts.
Defined in SDKRoot/include/i_pathengine.h.
Refer to this page for a discussion of run-time obstacle management.
iObstacleSet objects can be constructed with
iObstacleSet objects can be deleted explicitly by calling delete on the pointer or by calling the object's destroy() function.
All iObstacleSet objects are deleted by a call to
A pointer to an iObstacleSet object must not be used after the object has been deleted.
All obstacle sets created for a mesh get destroyed automatically when the mesh is destroyed.
Adds a specified agent to this obstacle set. | ||
Removes all agents. | ||
Returns true if the set is empty. | ||
Provided for iterating through the agents in the set. | ||
Returns an index for the connected region at a given position. This can be used to quickly determine the reachability between positions. | ||
Returns an index for the connected region for an agent's current position. | ||
Tells you how many agents are currently included in the set. | ||
Returns the number of distinct connected regions in the unobstructed space for a given shape. | ||
Tells you if a specified agent is included in this set. | ||
Checks the state of pathfinding preprocess, on obstacle sets marked for full preprocessing. | ||
Removes a specified agent from this set. | ||
Equivalent to calling getNumberOfAgents() | ||
Enables the application to force generation of collision preprocess associated with the obstacle set. | ||
Enables the application to force generation of any pathfinding preprocess associated with the obstacle set. |
| Documentation for PathEngine release 5.17 - Copyright © 2002-2008 PathEngine | next: |