Game Development Reference
In-Depth Information
Pathfinding - using NavMesh
Pathfinding can be done in many different ways, and in this recipe we'll look at how to use
the NavMesh generated in the previous recipe for pathfinding. We'll use jMonkeyEngine's
AI plugin, which has a pathfinder designed to navigate NavMeshes.
We achieve this using the Control pattern, and will also implement a way to generate paths
in a thread-safe way separate from the main update thread, to not impact the performance
of the application.
Search WWH ::




Custom Search