Skip to content

API > NavMeshAgent > updatePosition


NavMeshAgent.updatePosition⚓︎

Name Type
updatePosition boolean

Description⚓︎

Gets or sets whether the transform position is synchronized with the simulated agent position. The default value is true.

Extra Detail⚓︎

When true: changing the transform position will affect the simulated position and vice-versa.

When false: the simulated position will not be applied to the transform position and vice-versa.