Check if Goal is reachable every Time?

Hey, i am working on a small maze game where you get a randomly rotated maze and you have to unsolve it. looks like this at the moment:

https://d13yacurqjgara.cloudfront.net/users/76292/screenshots/2119802/maze_2.gif

this is a fake prototype to show you how it should look like. the rotating of the pieces is already working and what I am doing right now is checking if the maze is solved or not - and the (!) should appear then.

how can i check the connection between ball and exit bridge constantly? which graphs type would be the smartest - also regarding mobile performance?
or should i check every time each maze tile gets rotated (thats acutally already working - i can sent a debug message as soon as a rotated peace reaches its rotation destination). but which function do i have to call as soon as its rotated and ready to perform the next check?

i already got it. just needed to put a dynamic grid obstacle on my blocking object :slight_smile:

1 Like

Great that you managed to solve it :smile: