Search Unity

  1. Are you interested in providing feedback directly to Unity teams? Sign up to become a member of Unity Pulse, our new product feedback and research community.
    Dismiss Notice

There is a way to move navmeshagent without rotating?

Discussion in 'AI & Navigation Previews' started by dienat, Nov 4, 2018.

  1. dienat

    dienat

    Joined:
    May 27, 2016
    Posts:
    417
    I dont use root motion and i see the agent just moves forward using the given rotation until reach destination but i dont want that, i want an enemy is moving and not looking for the next cell its moving but always looking at the player, but if they look at the player they just go straight to the player and not follow the agent.destination
     
  2. Od1um

    Od1um

    Joined:
    Nov 14, 2012
    Posts:
    5
    agent. updateRotation=false; that's it
     
    nmbileg and TacticalBlank like this.
  3. adhochero

    adhochero

    Joined:
    Feb 2, 2017
    Posts:
    42
    omg thanks. I didn't know it'd as easy as that. you're my HERO!
     
unityunity