Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question NPC runs in place using NavMesh

Discussion in 'Navigation' started by Jinesh12, Apr 12, 2021.

  1. Jinesh12

    Jinesh12

    Joined:
    Sep 30, 2020
    Posts:
    9
    Hello!

    I'm new to Unity, and I've recently discovered NavMesh and NavMeshAgent. I have a simple game, where I have 3 NPC and they all have points in the map that they need to go. I've animated them with a https://speedtest.vet/ https://vidmate.bid/ running animation but the thing is, whenever I use NavMesh and NavMeshAgent the NPC just runs in place.
     
    Last edited: Apr 12, 2021
  2. Reeppers

    Reeppers

    Joined:
    Mar 28, 2021
    Posts:
    3
    Have you bake the ground ?

    Click on the ground > Navigation > Bake > Bake button

    If nav tab not exist go on Menu bar, Window > AI > Navigation