Per-axis tile collision resolution
Move the character horizontally first, push it from the wall, move it vertically later, push it from the floor and ceiling, and the slope adjusts the height of the foot and only steps on one foot from the top.
- Category
- 2D motion & collisions
Technical terms · Tile collision (axis-separated resolution) · AABB vs tile grid · Slope tiles (height function) · One-way platform (drop-through)