Hi!

Does anybody remember if there is a simple, foolproof mathematical trick to check if two box-shaped volumes are intersecting, when they are in arbitrary positions AND orientations in space?

The method I have come up with in my mind is, that it should be checked if all the corner points on Box2 are on the positive side of any of the 6 surface planes (surface normals) of Box1 and vice versa. So if one of all the 12 cases is true, then the volumes are not intersecting. Otherwise they are.

The good thing is, that numbers and vectors are pretty fast to compute, but anything with less work would naturally help. :)