Go through box collision, but not the other way

Hi, How can I set up a box collision, either for a box collision or for a static meshs’ collision… to where a pawn can move through one side of the static mesh or actor but not back through which it came?

cannot go back down from this point


goes through static mesh (||||||||||||||||||) upwards so if pawn is here

to any orientation of static mesh or actor

If it’s single player you could do something like add a box collision on the side he should be able to move through. Once he touches that one the collision is turned off until he left both collisions (your box collision and mesh / original box collision). Then once that happened turn it back on.

For multiplayer it’s a bit more funny. I have no good idea from the top of my head how that could be done.