Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Any way to set braking deceleration equal to acceleration?

Discussion in 'Navigation' started by Archestratidas, Jan 1, 2016.

  1. Archestratidas

    Archestratidas

    Joined:
    Feb 1, 2015
    Posts:
    10
    I've noticed the NavMeshAgent decelerates at a much faster rate than it accelerates, but I can't seem to find a way to set this property. Is it possible to change this deceleration value somewhere, or is there a workaround for it? Thanks!
     
  2. PhoenixRising1

    PhoenixRising1

    Joined:
    Sep 12, 2015
    Posts:
    488
    Taken from: http://answers.unity3d.com/questions/236828/how-can-i-stop-navmesh-agent-sliding.html

    increase the value of acceleration when you need to decelerate.