Intersection tests and advanced collision detection

Started by
0 comments, last by GameDev.net 24 years, 8 months ago
What is the best way do do an intersection (hitscan) test for a beam weapon against a 3D triangle. It needs to determine the XYZ position of the intersection.

What is the best way to do collision detection between freeform polygon objects (i.e. not bounding boxes).

-Denix Linelli

Advertisement
For a beam weapon, you presumably want to do a ray vs. triangle test. Check out this article in Graphics Gems 1: "An Efficient Ray/Polygon Intersection", by Didier Badouel.

As for collision between polygonal meshes, that's an entire field in and of itself.

This topic is closed to new replies.

Advertisement