- Home /
navmesh agent updatePosition updateRotation: what's this?
Hi,
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.
Jean
Answer by Jean-Fabre · Dec 30, 2011 at 11:09 AM
Ok,
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.
Does it mean that when set to false the agent (I mean the GameObject) can be animated manually without pathfinding calculation ?
Your answer
Follow this Question
Related Questions
Nav Mesh problem~ I need help! 0 Answers
rotating to the current facing position 2 Answers
Floating-point errors while assigning transforms 1 Answer
Sphere "skids" on turns without rotating 1 Answer
How to move camera up and down 1 Answer