I am new to Godot, and I am trying to create a platformer game with portals that link to each other, kind of like the game Portal but in 2D. I want the portals to be really thin, like a line, since they are viewed from the side, and I want the player to be able to move through one and come out another seamlessly. However, the problem I am running into is that if there is a wall behind a portal, the player will not be able to enter the portal because they will hit the wall first. Similarly, if there is a wall behind the exit portal, the player cannot exit the portal because they will be teleported directly into the wall. I think I need some way of dynamically removing the regions of the collision mask directly behind each portal whenever the player is about to enter. That way the player can move into the portal, and out of the other portal without hitting the wall. However, if the player moves around to the back of the portal, the collision mask should then be intact. Is this possible, and if so how would you do it? Thanks for any help!