Change mesh visibility/transparency within game engine.

I’m having an issue in the game engine. I’m making a top down game and wish to make it so that when the character moves into/near a building, the roof disappears so that you can see inside what you are doing. Unfortunately, I don’t actually know how to achieve this. I’ve tried putting a visibility actuator, unchecking “visible” and connecting it to a near trigger, but that doesn’t seem to do anything :S

If anyone could help me figure out what to do I would greatly appreciate it.

Thank you!

Youll need a property bool and a collision or near sensor + visibility actuator, my guess.

The only reason I could think of why this isn’t working is that the object that needs to be detected by the Near Sensor is no Actor. Near and Radar Sensor only detects Actors.