Search Unity

NavMesh Agents stop moving briefly when NavMesh is carved.

Discussion in 'Navigation' started by djarcas, May 13, 2015.

  1. djarcas

    djarcas

    Joined:
    Nov 15, 2012
    Posts:
    246
    If I place a NavMesh Obstacle, when it carves, all the agents affected by the change stop briefly. If the acceleration is high on the Agent, then it only happens briefly, giving a short but jarring pause on every agent.

    However, I randomise my acceleration to a very low number, so agents don't all corner like robots; this leads to the entire pack of agents instantly stopping, then accelerating back up to speed very slowly.

    Is this intended behaviour, and what workarounds are there?
     
  2. djarcas

    djarcas

    Joined:
    Nov 15, 2012
    Posts:
    246
    Solved - I unticked 'Auto Braking'

    I guess that's a bug then :p
     
  3. Plummers

    Plummers

    Joined:
    Oct 29, 2015
    Posts:
    35
    Thank you, thank you, thank you!

    Spent many hours trying to solve this issue and this worked instantly.

    Have a great week.