|PathEngine home||previous: ||next: |
Returns an index for the connected region for an agent's current position.
int32_t getConnectedRegionForAgent(iAgent& agent) const;
|agent||The agent shape to be used for the query.|
Must not be called for non-moveable agents.
Requires that the collision context includes an obstacle set that is 'marked for preprocessing', or that connected region preprocess has been generated against the mesh for the query agent shape.
This is equivalent to calling
int getConnectedRegionForAgent(Agent agent);
|Documentation for PathEngine release 6.03 - Copyright © 2002-2021 PathEngine||next: |