How do I properly hide in lockers and beds with an BP interface?



I am making a locker that you can hide in. Everything works as intended except that when I try to remove the player’s collision (so AI or other players don’t run into invisible object) it removes the ability for the player to re-interact with locker’s collision box. Let me know if you need more information.

Without changing much, I can think of a good way to fix this issue:

If you absolutely need to disable collision, you can create a new collision channel specifically for your interaction that you don’t ever disable.



Here’s how to create the channel.
Make sure the default is set to ignore, else the floor will be trying to hide.

Then, on your interact collider, you can set it to ignore everything except interact- to which it will overlap:

On your player, just make sure interact is set to overlap. Don’t mind the other settings I have, they’re just default.




Make sure you keep interact always set to overlap, even when the rest gets disabled.