How do I activate NavMesh in Unity?

Viewed 22

I'm making a car type game, and wanted to use NavMesh to "control" my car.

I was wondering how exactly to activate it, as I can't find a straightforward answer anywhere else.

1 Answers

Its something like this

  1. You add Navmesh agent to the player that will move on the Navmesh.
  2. Add Navmesh obstacles.
  3. Generate Navmesh and use script to set destination of the agent to move it.

This tutorial might be helpful to you.

Related