public bool updateUpAxis ;

Descripción

Allows you to specify whether the agent should be aligned to the up-axis of the NavMesh or link that it is placed on.

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.