When I create my levels, I have a base ground and I add obstacles or higher grounds on top of that ground.
This means my geometry intersects with the ground it comes in contact with (see gif below)
When I then scan the terrain with the Astar path script I realized I had 2 heights upon which the AI can walk.
But one of them, the lowest of the two, is invalid. I would like this lowest path to not be created.
I’m sure this problem happens to a lot of people so I would like to know what’s done in that type of scenario.
Obviously, I know in this case I could modify the geometry but is there a better workflow ?