I am trying to figure out how to reverse the way the obstacle function works.
I have a tilemap and want to draw a line on it like the image below. But, I want the reverse to happen. I want the outside part to become the part that can’t be traveled. Basically, making the entire Astar grid non-traversable by default and only if it has a collider would it become traversable.
Not sure if that’s possible?