Advertisement

SIMPLE BOUNDING BOX COLLISION...

Started by September 30, 2000 08:48 PM
1 comment, last by RegularKid 24 years, 3 months ago
What is the simplest bounding box collision method?
There is only one bounding box collision method as far as I know:
Take two boxes. Box1 and Box2.
Check if they overlap. (Just compare the extreme x and y values)
If they do, follow up with a more specific collision test, i.e. bitmap test.

I think you need to get a good book on game programming
Several billion trillion tons of superhot exploding hydrogen nuclei rose slowly above the horizon and managed to look small, cold and slightly damp.-The Hitchhiker's Guide to the Galaxy by Douglas Adams
Advertisement
I submitted a bounding box class to flipcode 3 days ago. It hope it''ll be the code of the day soon. Mail me if you want it.

bengt.rosenberger@gmx.de

This topic is closed to new replies.

Advertisement