| [edited 6 times; latest by CGameProgrammer on 1076216400 -- highlight modified text] I've been working on triangle-triangle collision detection / collision handling for several months but finally have it working, as far as I can tell (let's hope). I'll probably write an article later explaining in detail the algorithm, but for now I'm just releasing the demo and its source code.
Feel free to modify it, like by creating a better level to test the algorithm, or loading models and colliding them with each other. Also rewriting it with SDL wouldn't be a bad idea either.
Source code (Visual C++ project) and executable for Release #2
This contains full source code, but if you use it or anything derived from it, please e-mail me!
Instructions are in Main.cpp. Requirements are Windows and a 3D card. A good CPU is strongly recommended since this demo contains no optimizations at all.
Please leave feedback here, especially if you find a bug.
(post edited for clarification of some stuff -- at the moment I'm the first Google result for "triangle-triangle collision", yay)
|
| |
| |