Collision detection

Started by
0 comments, last by badsector 18 years, 5 months ago
I want to implement triangle-triangle collision detection for a model, but have been unable to find any tutorials on how to do this. If someone could give me a link to a good site or two on this it would be greatly appreciated.
____________________________________________________________Programmers Resource Central
Advertisement
This isn't a hard task, every kind of collision detection is actually a matter of one or more intersection tests.

An easy to implement way is to check if each edge (which also is a line segment) of the one triangle penetrates the other triangle. If so, then the triangles collide. Getting the collision points (which is actually a line segment) is a little more tricky, but if you draw the situation in paper, you'll figure out a solution. I just don't have the means right now to draw it for you :-).
--Slashstone - www.slashstone.comNerveBreak free scripting system.

This topic is closed to new replies.

Advertisement