Bake a NavMesh Area Around the Player - Runtime Baking Part 2 | AI Series Part 14
Published: 11 May 2021
Learn how to bake a NavMesh on a small portion of your level. This allows much faster baking of NavMeshes on large procedural worlds, or on very large worlds. We do this by specifying a volume around the player and use the NavMeshBuilder class to collect the relevant sources and update a registered NavMeshData.
If you are taking this concept and applying it to your large scale game, check out the next video: https://youtu.be/bCC5pqNT000 where we look at optimization techniques to minimize CPU time when baking the NavMesh.
Want Part 13? https://youtu.be/QPv_V4TCi8o
Interested in the performance of this and some tips on how to optimize it? AI Series Part 14.5 has you covered! https://youtu.be/bCC5pqNT000
Part 14.5? https://youtu.be/bCC5pqNT000 (optimization video)
As usual with the AI Series, we're using the NavMesh Components: https://docs.unity3d.com/Manual/NavMesh-BuildingComponents.html not the built-in navigation system.
🔶 ALL THINGS LlamAcademy now available at: https://llamacademy.dev/support including latest tutorials, courses, ways to support, and more! Check it out 🙂
👨💻 Get the FULL FREE PROJECT on GitHub: https://github.com/llamacademy/ai-series-part-14/
🏷️Save 25% on the ultimate C# IDE: JetBrains Rider with code LLAMACADEMY: https://www.jetbrains.com/store/?section=personal&billing=yearly
Some links may be affiliate links, which at no additional cost to you, gives me a small portion of the purchase.