I want a door to be visible and then be invisible. However, when I use the "remember visibility" attribute, the collision is not included in the action. So even though the object disappears, the collision remains.
I turned the collision off, but now when the door is visible, people can go through it.
What's the best way to get around this?
Also, when the player pushes escape during a camera fade out, it gets out the fade. Is there a way around that as well?
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
"Remember Visiblity" will only control the state of an object's Renderer - it won't deal with collision.
If you want to affect both collision and visibility, there's a couple of ways:
The fade effect doesn't react to the keypress directly, but if you have a pause menu that's set to turn on when the escape key is pressed, the fade will cancel to display the menu.
The default Pause menu is set up in this way, linked to the "Menu" input that is mapped to the escape key.
You can use the Menu: Change state Action to lock this Menu to prevent it from reacting to key presses during this time.