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.