How to prevent NavMeshAgent from rotate?

I’m using NavMeshAgent for the AI and I’m using my own rotation using quaternion and it"s working fine. But when I stress test it using the player to collide and push the enemy over and over the enemy gain some weird rotation and then never stops.

I’m already using NavMeshAgent.UpdateRotation = false; and NavMeshAgent.AngularSpeed = 0; but this only work when I don’t collide repeatably with something.


Just fixed it by using the rigidbody isKinematic. Why didn’t I think about that before =/.

source: Unity - Manual: Using NavMesh Agent with Other Components