Home▸Game Development▸Separating Axis Theorem for Oriented Boxes: 15 Candidate Axes, Penetration Depth and Minimum Translation Vector

Separating Axis Theorem for Oriented Boxes: 15 Candidate Axes, Penetration Depth and Minimum Translation Vector

Two crates drift and tumble through each other while the Separating Axis Theorem tests all 15 candidate axes: 3 face normals of each box and the 9 edge-edge cross products. See the projection intervals on the deciding axis, the separating plane when the boxes are apart, and the minimum translation vector that pushes them just out of contact when they overlap. Resize both boxes, change the orbit and spin, and check the depth against a brute-force search of 150,000 directions. A Blender-built crate scene with numerical checks.

Game Development3DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 2D version
Separating Axis Theorem for Oriented Boxes: 15 Candidate Axes, Penetration Depth and Minimum Translation Vector ↗ Open standalone

Two crates drift and tumble through each other while the Separating Axis Theorem tests all 15 candidate axes: 3 face normals of each box and the 9 edge-edge cross products. See the projection intervals on the deciding axis, the separating plane when the boxes are apart, and the minimum translation vector that pushes them just out of contact when they overlap. Resize both boxes, change the orbit and spin, and check the depth against a brute-force search of 150,000 directions. A Blender-built crate scene with numerical checks.

⚙ Under the hood

Two crates drift and tumble through each other while the Separating Axis Theorem tests all 15 candidate axes: 3 face normals of each box and the 9 edge-edge cross products. See the projection intervals on the deciding axis, the separating plane when the boxes are apart, and the minimum translation vector that pushes them just out of contact when they overlap. Resize both boxes, change the orbit and spin, and check the depth against a brute-force search of 150,000 directions. A Blender-built crate scene with numerical checks.

Separating Axis TheoremCollision DetectionOriented Bounding BoxMinimum Translation VectorGame PhysicsConvex PolyhedraComputational Geometry

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)