How to turn off collision in-game

I was helping someone out with their game and was thinking if their should be a role where you have the ability to walk through walls temporarily via overlays. If it is possible, then how do I make it so you can go through props and certain terrain but not out of bounds?

My idea for this is placing barriers with collision that are not visible in-game on terrain, and deactivating them [1]when you press the overlay like so:
(Game Overlay) Button Pressed --> Deactivate Barrier

And well for props, you can already deactivate collision for most of them [2]


  1. since when then barrier is deactivated, players can go through it ↩︎

  2. and on the ones you can’t, you can just place barriers on them lol ↩︎

1 Like

This is perfect! I hope the guy I am helping has enough memory for this :smiley:

1 Like

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.