I'm trying to find a way to search for multi-level paths. See the picture:
The orange walls would be considered a ladder, connecting you to the higher levels.
At first, I thought it was like it was 2d, but I also need to be able to move on. How can I calculate these paths?