   Simple Collision Detection
  Hi there,I am developing a very basic 3D space racing game in which one need to complete the track in given time limit....I am using 3D cubes(of different hights and widhts) as the obstacles in between....And here are the problems:How do I detect collision between my spaceship(which is again a problem, I am using a small cube till I get the problem related to Spaceship solved) and the obstacles..I tried to check over NeHe and other tutorials but those get too Hi fi for me.. Can Anybody suggest a simple yet effective technique to achieve it....2> It's related to spaceship itself...I want to use a good spaceship but dont want to involve the 3ds/ms3d modeling amd loading, as I am still a newbie and don't understand those concepts well...Can Anyone here help me with the designing of a simple but sleek spaceship..I want to draw it as a simple geometric object.Thanks in adance...   
  I guess what you are asking for is how to do a collision test between two cubes. This is very similar to collision test between 2 OBB (object bounding box). You can use the separating axis test to do the collision check. You may google Separating Axis Theorem for more detail.In general for collision between 2 OBB, there is 15 potential separating axis, if you ever found a separating axis between the 2 OBB, it means the object does not collide and you can abort the test early.A separating axis means that along the particular axis, when you flatten/project the two OBB on the axis, there is a non-overlapping region. You may look at theses sites:http://www.metanetsoftware.com/technique/tutorialA.htmlhttp://www.flipcode.com/archives/2D_OBB_Intersection.shtmlfor the spaceship model, you may try some pre made models online, likehttp://artist-3d.com/free_3d_models/   ;  Thanks for the info...looks a little bit complicated to me but.....will try to understand...