Possible Duplicate:
OBB vs OBB Collision Detection

How can I detect if a rotated OBB intersects with another rotated OBB and resolve it so both OBB objects don't go further into each other.
I want to use it for space ship collision.
I'm using C++ and OpenGL for my project.


marked as duplicate by Jari Komppa, doppelgreener, Trevor Powell, jcora, Josh Sep 30 '12 at 6:07

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.