NavMeshAgent.updateUpAxis
Name | Type |
---|---|
updateUpAxis | boolean |
Description
Allows you to specify whether the agent should be aligned to the up-axis of the NavMesh or link that it is placed on.
Extra Detail
When this value is set to true, the agent will always be aligned to the local up-axis of the NavMesh or link that it is currently on. When set to false, the agent’s orientation is unaffected by the orientation of the NavMesh.