PDA

View Full Version : collisions with objects!



vantage
11-26-2007, 02:07 PM
hi, i need some help to work out how to detect collisions between two objects in a 2d window, at the moment the user is able to move an object around the window and there are many objects at all different heights coming from the right! Can anyone give me some help to make the window exit if the object the user is controlling collides with one of the objects coming from the right?

Jan
11-26-2007, 02:49 PM
This is not an OpenGL question, what you need are intersection-tests (that's a physics-problem).

Jan.