Setting up Navmesh in Unity

If we want to build an AI agent that can travel around a scene autonomously, we need a way to set the area and boundaries. We do this in Unity using a Navmesh:

Turn on the Navigation tab using the menu Windows — AI:

Select the objects that make up the floor and then use the Bake button to create the Navmesh.

Next, we’ll add our agent and some waypoints for it to travel to.

--

--

Unity and Flutter developer interested in creating mixed-reality applications.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Richard Morgan

Unity and Flutter developer interested in creating mixed-reality applications.