Search Unity

NavAgent with root motion anims rotates near destination

Discussion in 'Navigation' started by astanid, May 3, 2021.

  1. astanid

    astanid

    Joined:
    Apr 5, 2021
    Posts:
    145
    NavMeshAgent with very low speed (like 0.1) and still animated with Root motion performs very well. The only problem - it starts to walk around the destination. I tried adding to 'Stopping distance' value - but even several meters doesn't resolve the problem.
    Yep, i can switch off root motion - but i don't like the result. How can i fix this rotation ?