navmesh agent updatePosition updateRotation: what's this?


wondering what is NavMeshAGent,updatePosition and NavMeshAgent.updateRotation for, and when to use it. Dont’ even know if I should set it or query for it.

I could not find any use of this in the samples provided. is there?

any hint appreciated.



This is a flag you can set so that the agent actually update the transform position or not,

if set to false the transform will not be updated by the agent at all.