C++ Collision Detection Using SAT

Опубликовано: 05 Август 2026
на канале: SolidusCode
10,133
61

Interested in C++ collision detection tutorial?

Well, this tutorial demonstrates how to detect collisions in 3D. The concept is incredibly easy to understand and follow. I use SAT, which is separation of axis theorem, to accurately and very quickly detect collision between my rigid bodies.

The principle of SAT is that if there is any axis(Normal) that separates two convex shapes, then there is no collision. However, if there is no axis that separates two shapes, then there is a collision.

Note: projection is simply the dot product of a normalized vector with point or another vector.