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.
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.
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.
3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install