| PathEngine home | previous: | next: |
Represents a state of dynamic collision for an iMesh.
Defined in SDKRoot/include/i_pathengine.h.
iCollisionContext can be used to represent either an actual state of collision in the game world,
or to represent an AI's current understanding about the state of collision in the world.
The iCollisionContext object stores a set of agents on that mesh.
When you pass the collision context in to pathfinding or collision queries on the mesh,
those agents will automatically be included in the pathfinding or collision.
iCollisionContext objects store some preprocess about this set of agents and automatically update this preprocess
when agents move or are destroyed.
Refer to this page for a discussion of run-time obstacle management.
iCollisionContext objects can be constructed with
iCollisionContext objects can be deleted explicitly by calling delete on the pointer or by calling the object's destroy() function.
All iCollisionContext objects are deleted by a call to
A pointer to an iCollisionContext object must not be used after the object has been deleted.
All collision contexts created for a mesh get destroyed automatically when the mesh is destroyed.
Adds a specified agent to this context. | ||
Adds a free standing obstacle set to this context. | ||
Clears any connection penalties previously set with | ||
Clears any query bounds previously set for this context. | ||
Provided for iterating through the set of agents in a context. | ||
Tells you how many agents are currently included in the context. | ||
Helper method for iterating through obstacle sets in a context. | ||
Helper method for iterating through obstacle sets in a context. | ||
Tells you if a specified agent is included directly in this context. | ||
Removes a specified agent from this context. | ||
Removes a free standing obstacle set to this context. | ||
Enables the penalty values associated with off-mesh connection to be overlaid and managed dynamically. | ||
Sets a rectangular region outside which PathEngine may discard potential paths. | ||
Associates a traverse cost with regions marked with a specified surface type. | ||
Associates a direction with the traverse cost for regions marked with a specified surface type. | ||
Enables the application to force generation of collision preprocess associated with the collision context. | ||
Enables the application to force generation of pathfinding preprocess associated with the collision context. |
| Documentation for PathEngine release 5.17 - Copyright © 2002-2008 PathEngine | next: |