PathEngine home | previous: | next: |
iAgent objects represent the placement of a shape at a position on a mesh.
Defined in SDKRoot/code/externalAPI/i_pathengine.h.
An iAgent object represents an instance of a shape placed on a mesh.
An iAgent object can be used to represent a true pathfinding agent,
but also to represent an obstacle that is simply placed on a mesh and does not need to
perform collision or pathfinding queries.
iAgent objects cannot be moved from one mesh to another.
To move a character from one mesh to another you need to delete the iAgent corresponding to
placement on the first mesh and create a new iAgent to represent the placement of the character on the new mesh.
iAgent objects are constructed by calling
iAgent objects can be released explicitly by calling delete on the pointer or by calling the object's release() function.
A pointer to an iAgent object must not be used after the object has been deleted.
All agents placed on a mesh get destroyed automatically when the mesh is destroyed.
Increments the internal reference count for this API object. | ||
Increments the internal reference count for this API object. | ||
Advances the agent along a path without allowing the agent to enter obstructed regions because of position approximation. | ||
A version of advanceAlongPath() with extra precision components of the agent's position and collision information. | ||
Similar to advanceAlongPath(), but provides extra precision components of the agent's position. | ||
A helper function to determine whether collision queries can be made for the agent. | ||
A helper function to determine whether pathfinding queries can be made for the agent. | ||
Finds the closest unobstructed position, if one exists within a specified region around the agent's position. | ||
Finds the shortest path of escape from a specified region for the agent. | ||
Finds the shortest path of escape from a specified region for the agent. | ||
Finds the shortest path from the agent's current position to a specified target position. | ||
Finds the shortest path from the agent's current position to a specified target position. | ||
Determines the first contact, if any, for movement by the agent along a line to a specified target position. | ||
Post process path smoothing. | ||
Post process path smoothing. | ||
Fills a buffer with the set of agents in a given context overlapped by this agent. | ||
A helper function to access the mesh on which this agent is placed. | ||
A helper function for access to underlying agent geometry, e.g. for debug rendering. | ||
A helper function to obtain the current position of the agent. | ||
A helper function to obtain the | ||
A helper function which can be used to determine whether an agent is set to behave as a 'soft obstacle', and the traverse cost associated with the agent. | ||
A helper function which can be used to determine whether a direction has been associated with a soft obstacle, and retrieve the direction. | ||
Used to retrieve a void pointer previously passed in to | ||
A helper function for access to underlying agent geometry, e.g. for debug rendering. | ||
Enables you to check whether there are any outstanding references on this object, other than the interface reference through which you are calling, and therefore whether this object will actually be deleted if you call its release method. | ||
A helper function to determine whether an agent can be moved. | ||
Move the agent to a specified position, without any collision checking. | ||
A helper function to access the mesh on which this agent is placed. | ||
Releases the API object pointer. | ||
Specifies if the obstacle should function as a 'soft obstacle', and specifies the traversal cost. | ||
Enables a direction to be associated with the traverse cost for a soft obstacle. | ||
Enables the client application to associate arbitrary application data with an agent. | ||
Tests whether the agent can be placed at a specified position. | ||
Tests whether a specified shape at a specified position will obstruct the agent. | ||
Tests whether the agent can move along a line to a specified position. | ||
Tests whether the agent can move along a line specified in terms of target x and y coordinates. |
Documentation for PathEngine release 6.04 - Copyright © 2002-2024 PathEngine | next: |