technique

Rectangle Rectangle Collision Detection

Two axis-aligned rectangles overlap when each pair of opposing edges interpenetrates on both axes simultaneously.

Also called: AABB collision · rect-rect collision · hitbox collision

What it is

How it works

Parameters & tuning

Where it’s been used

Variants & neighbours

Go deeper


Revision 1 · 1 source · Something wrong? Tell us.