Skip to content

obb3VsObb3

obb3VsObb3(a, b): boolean

Defined in: src/modules/collision-3d/obb3.ts:92

Oriented-box vs oriented box by the separating-axis theorem: the two sets of three face normals plus the nine cross products of their axes. The boxes intersect only when no axis separates them.

Edge-flush contact does not count, matching aabb3VsAabb3: an axis whose gap exactly equals the two projected radii separates the pair.

Obb3

Obb3

boolean