|
Introduction
This demo uses the ODE Physics Library to do some box to box, box to plane, box to sphere,
sphere to sphere, sphere to plane collision testing.
As you create objects that appear randomly in mid-air, they accelerate towards the ground due to the effects of gravity.
Sometimes, they hit each other and you can see the effects. You can also make their appearance non-random.
Source code provided except for loading the graphics files.
It only requires basic OpenGL 1.4 functionality so any recent graphics card can run this.
ODE has a pretty advanced physics engine, although not perfect, it is pretty stable. It's certainly more advanced
than what I have here.
Instructions
Run the EXE.
In the console, in the very beginning it says what keys to press.
That's all!
The Source
The files included are :
- ode_boxcollision.cpp (The main CPP file)
- ode_boxcollision.exe (The executable)
- ode.dll (I think version 0.5)
- Media files (textures, must be in same folder as EXE)
- glhlib.dll
- libpng.dll
- libjpeg.dll
- devil.dll
- zlib.dll
- Email me if links are down or there is a problem with the program or other reason.
Download
boxcollision.zip (1 MB)
Screenshots

|
|
|