Search Unity

Navmesh Agent Snaps to New Heading

Discussion in 'Navigation' started by Ben_Iyan, May 22, 2018.

  1. Ben_Iyan

    Ben_Iyan

    Joined:
    May 13, 2016
    Posts:
    204
    I'm working on a simple click-to-move project (i.e. click on the terrain and the selected object moves there). It works, but the agent snaps immediately to the new heading, rather than rotating at its maximum rotational speed. I must be missing a setting. Any ideas?
     
  2. SparrowGS

    SparrowGS

    Joined:
    Apr 6, 2017
    Posts:
    2,536
    I think it may have something to do with the autoBraking bool.
     
    Ben_Iyan likes this.
  3. Ben_Iyan

    Ben_Iyan

    Joined:
    May 13, 2016
    Posts:
    204
    I tried it with autobraking enabled and disabled and I get exactly the same result. It's probably a setting that I'm missing, but I can't find it. Thanks for the reply.