A barrier/force field which only allows passage through it in one direction.
You must set the collision_mask on the PassDetectionArea node to any layers you want to allow through one side, all other collision layers are not allowed through.
Reddit post with video: https://www.reddit.com/r/godot/comments/wnar63/one_way_barrierforce_field_was_quite_simple_to/