PathEngine home previous: SlideAgainst()next: Adding pathfind preprocess
Contents, Programmers Guide, Example Projects, Tutorials, Tutorial 3

Tutorial 3


This tutorial builds on 'Tutorial1' to introduce some pathfinding queries, and to demonstrate advancing an agent along a path.

Adding pathfind preprocess
Path objects
The shortest path query
The path away query
Advancing along a path
Setting agent heading from the path
Post processing the agent's path

When you run the application you can place and move the agent and the obstacles as before. You can also press left mouse to make the agent move towards the point under the mouse, or right mouse to make the agent move away from the mouse. When you release the mouse button the agent will continue to advance along their current path until the end of the path is reached.

Documentation for PathEngine release 6.00 - Copyright © 2002-2016 PathEnginenext: Adding pathfind preprocess