Question about roaming people

when I make randomly roaming people, I used navmesh to set the place to roam.
But the navmesh only set “inside” one floor.
How to make ai people to fall from the floor when there’s no barrier?