One-way collision
Related terms: one-way platform, semisolid platform, collider, character controller
A surface that blocks motion from one side while allowing an object to pass through from the other. In a platformer, the player can jump upward through a ledge, then land on its top while falling. This differs from a trigger, which reports overlaps without physically blocking either direction.
The collision rule must account for which side the body approaches from, rather than simply drawing a thin platform. Games may also temporarily disable that collision for an intentional drop-through action. A suitable collision margin helps the permitted landing side catch fast-moving bodies reliably.
- Further reading
- Godot: one-way collision