If an NPC is moving via NavMeshAgent towards it’s destination, and moves through a certain navigation area, is there a way to detect the name of the area it is pathfinding through?
I am trying to figure out how to trigger the animator to switch the purple character from a walking state to the “ascending stairs” state appropriately (that is, when it is over the light purple navmesh). Maybe there is another or better way to do this by working with stepheight on a charactercontroller, but the ascending stairs animation is not necessarily right for rough terrain.