Baking the navigation mesh

Now that we have completed the scene, let's bake the NavMesh. To do that, follow these steps:

  1. We need to open the navigation window
  2. Navigate to Window | AI | Navigation, and you should be able to see a window like this:
Navigation window
All the properties in the Navigation window are pretty much self-explanatory: the agent radius and height represent the size of the virtual agent used by Unity to bake the NavMesh; the Max Slope represents how much slope the character can walk; and so on. For more information, you can check out the following Unity reference documentation: https://docs.unity3d.com/Manual/Navigation.html ...

Get Unity Artificial Intelligence Programming - Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.