implemented oriented bounding box collision detection