PathEngine home previous: The finished applicationnext: Shape creation
Contents, Programmers Guide, Example Projects, Tutorials, Tutorial 1

Tutorial 1


Builds on the previous tutorial to add an agent and some moveable obstacles.
Implements basic collision against the environment and against the moveable obstacles.

Shape creation
Generating shape preprocess
The update loop ‑ handling key messages
Getting the position under the mouse
Placing and moving agents
Placing obstructions ‑ using collision contexts

When you run the application you should see a mesh rendered in the testbed and be able to move the camera with the testbed controls, as in 'BasicApplication'.
You can also place or move an agent with '4' and two obstacles with '5' and '6'.
You should not be able to get the agent into a position in which it collides with either of the obstacles, or overlaps the edge of the mesh.

Documentation for PathEngine release 6.03 - Copyright © 2002-2021 PathEnginenext: Shape creation