PathEngine home | previous: | next: |
Adds an endpoint for use with the off-mesh connections feature.
int32_t addEndPoint(const cPosition& position); |
position |
The position for the endpoint to add. This must be a valid |
A unique index for the endpoint added.
(Endpoint indices start at zero for the first endpoint added and are then incremented.)
This index can subsequently be passed into
This method may not be called after collision or pathfinding preprocess has been generated or loaded for this mesh.
Any endpoints and connections on a mesh are saved out with the mesh when the mesh is saved.
See
int addEndPoint(PathEngine.Position position); |
int addEndPoint(Position position); |
Documentation for PathEngine release 6.04 - Copyright © 2002-2024 PathEngine | next: |