| PathEngine home | previous: | next: |
Refer to
Paths containing off-mesh connections simply include the endpoints before and after the connection in sequence.
A method is provided to enable the application to
check whether a given path segment corresponds to an off-mesh movement.
For details about using PathEngine's advance along path functionality with off-mesh connections, refer to
this page.
Off-mesh connections are added with the following methods:
Off-mesh connections and endpoint can be removed from a mesh by calling
The connections and endpoints associated with a mesh can be queried with the following methods:
The set of off-mesh connections associated with a mesh cannot be changed after preprocess has been generated or loaded for that mesh.
Off-mesh connections may be added to a mesh at content generation time and saved out with the mesh.
The connections will then be loaded with the mesh when the mesh is loaded at run-time.
The various methods for modifying the set of off mesh connections, above, can only be called before preprocess generation for a given mesh, with a final set of connections then essentially immutable during run-time pathfinding.
While the actual set of connections cannot be changed at run-time, however, it is possible to control the per-connection costs dynamically, and at the level of individual collision contexts.
Use
| Documentation for PathEngine release 5.16 - Copyright © 2002-2008 PathEngine | next: |