🇬🇧 Limited Time — UK Only·🎓 Free Learning for 1 Month·🤖 Free AI Training Included·📚 4,000+ Lessons · 35,000+ Quizzes·🏆 GCSE Mocks · Olympiad Papers·⚡ Selected Students Only · Limited Places·🎁 Free Value Worth £2,000·🇬🇧 Limited Time — UK Only·🎓 Free Learning for 1 Month·🤖 Free AI Training Included·📚 4,000+ Lessons · 35,000+ Quizzes·🏆 GCSE Mocks · Olympiad Papers·⚡ Selected Students Only · Limited Places·🎁 Free Value Worth £2,000·🇬🇧 Limited Time — UK Only·🎓 Free Learning for 1 Month·🤖 Free AI Training Included·📚 4,000+ Lessons · 35,000+ Quizzes·🏆 GCSE Mocks · Olympiad Papers·⚡ Selected Students Only · Limited Places·🎁 Free Value Worth £2,000·
🎮 Game Design

Collision Detection — When Things Touch

Axis-Aligned Bounding Box (AABB) collision checks if two rectangles overlap. Two rectangles collide if they overlap on BOTH the x-axis AND the y-axis. This is the most common collision used in 2D games.

3 min 10 XP Lesson 3 of 9
Collision Detection — When Things Touch

Axis-Aligned Bounding Box (AABB) collision checks if two rectangles overlap. Two rectangles collide if they overlap on BOTH the x-axis AND the y-axis. This is the most common collision used in 2D games.

Quick Quiz

1 / 2

What does AABB stand for?