Chapter 5. Navigation
In this chapter, we will cover the following topics:
Generating navigation meshes
Pathfinding with navigation meshes
Accessing the path information
Moving soldiers with navigation meshes
Multiple navigation meshes
So far, we've focused on agents; now, we'll take a look at the environments that our agents occupy. To get agents to move around, we're going to use navigation meshes, which are also known as navmeshes. A navmesh is simply a polygon representation of all possible areas our agents can move to.