In other to prevent theses glitches I used navmeshagent.updateRotation to false and the angular speed to 0 and it's working fine. Although when I test it using the player to collide over and over with the enemy he starts to spinning and then never stops.
I'm using my own rotation using quaternion to rotate de enemy.
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
336 People are following this question.
Problem with halt with rotating on y axis
Having projectile face mouse position
Smooth 90 degree rotation on keypress
AI moving Backwards along path
Multiple rotations make a mess!