The aim of this tutorial is to demonstrate how we can use NavMesh pathfinding on a procedurally generated level. We’ll use a randomly generated maze in order to have an agent find the quickest route between the two ends.
- The project files are available to our patrons here: ► https://www.patreon.com/posts/91082561
- Want to follow along? This project is a good starting point ► https://www.patreon.com/posts/85538765
- The final script can be found here ► https://dotnetfiddle.net/zIqa97
- Help support our work: ► Patreon: https://www.patreon.com/ketragames
- Introduction – 0:00
- Installing the AI Navigation Package – 00:29
- Setting up the NavMesh Surface – 01:00
- Baking the NavMesh Surface for the Maze – 02:55
- Resizing the Maze- 04:42
- Setting up the NavMesh Agent – 07:24
- Summary – 09:24