liamm737
liamm737

Reputation: 1

How do I activate NavMesh in Unity?

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.

Upvotes: -1

Views: 322

Answers (1)

Vionix
Vionix

Reputation: 590

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.

Upvotes: 0

Related Questions