I want to check out with your guys see if my thought is right on the optimization of collision detection of OBB.
Since I'm using separating axis theorem, so the axes I need to test on include normals of very faces of each OBB, and vectors generated by a cross product of two edges, one from each OBB. My thought is that since every box has 3 pairs of parallel faces, so I can reduce the number of separating axes from each box from 6 to 3. And all edges of a box are only in 2 directions, can I reduce the number of the second type separating axis to 4?
Am I right? Is there any other optimization?
Thanks in advance.
Edited by sobeit, 27 September 2013 - 05:25 PM.