This question builds on a previous post asked by griffinHeart nov 2012. See link below.
Refering to the explanation/answer by Ken. What if the yellow cube had a rotation so the gap was hidden. This scenario does not necessarily mean that there is a collision/interception. The scenario would look something like this:
Which of the 9 edge - edge vectors would then show that there is no collision.
I am trying to implement an anti- coll algo between two 3d rectangles that might have a rotation around any axis (x, y, z). I am struggling with the projection part. How to project the points onto the face normals.
Hope someone can give me an answer that could lead to a solution. Thanks!