SIMPLE BOUNDING BOX COLLISION...
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
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
October 01, 2000 08:14 AM
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
bengt.rosenberger@gmx.de
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement