I would like to move my game character, which is a navmesh agent to a random position on a Nav Mesh. I have the character moving, i just need to choose a random walkable position.
I am using this line to move to a specific object:
GetComponent<NavMeshAgent>().destination = theObject.position;
Thanks