▲ 85 r/bevy+4 crossposts

I made an 8-minute visual explanation of the Separating Axis Theorem

Alright hello everyone, I made a standalone visual explanation of the Separating Axis Theorem for collision detection.

My first one so this, took an embarrassing amount of time but I feel like it has decent animations and narration at this point.

It covers:

  • projecting convex shapes onto an axis
  • finding candidate axes from edge normals
  • testing interval overlap
  • finding the minimum penetration depth and collision normal
  • why SAT works for convex shapes
  • what changes in 3D

The video is engine- and language-independent, and is aimed at people interested in implementing collision detection or understanding how narrow-phase algorithms work.

I’m also working on videos covering general collision detection, broad phase versus narrow phase, and GJK.

youtu.be
u/caspervonb — 11 days ago