set the angular velocity of nav mesh agent directly?

Hi all,

If a navmesh is attached to an object, and the object needs to rotate, it will do so. However it does not do this at a constant rate but rather with an organic acceleration/deceleration curve. For the purposes of my game I’d like to make it spin at a uniform pace. Any Idea how?

In the navmesh attributes you can set the speed (which is in fact the max speed) to any given number, or via script you can influence the actual speed via navMeshAgent.velocity. I’d like to do the same with the angular velocity (which is, again, the maximum turn speed) but I can’t seem to find an attribute in the documentation to set the spin speed directly. Does anyone know what that is, or a potential work around?

Good day @MaxKBennett !!

You should take a look at Rigidbody-angularVelocity.

Mark the answer as correct !

Bye :smiley: