Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Make NavMeshAgent Rotate ONLY when Agent has to turn

Discussion in 'Navigation' started by Cnc96, May 29, 2015.

  1. Cnc96


    Dec 17, 2013
    Hi all,
    I'm wandering if there is an easy way to make a NavMeshAgent stop moving and just rotate if the agent needs to turn to follow its path, as I'm looking for a way to try and get an arcade-like tank motion like that seen in the image below:

    I was thinking that I could perhaps use a combination of the steeringTarget, updatePosition and updateRotation to achieve this?
    Would that be the right way to approach the problem, or would I have to do something else?
  2. Jakob_Unity


    Dec 25, 2011