Line to triangle collision detection

Blitz3D Forums/Blitz3D Programming/Line to triangle collision detection

Bot Builder(Posted 2003) [#1]
well, I need a line-tris intersection algo. I have a dll that does it, but I'm afraid it is too slow. I also don't want to use linepick, since this could cause problems, and I want to only use the function with several tris.

Anyway, a tut giving a algorithm would be good, because I'll need some special info about the intersection, and it would be hard to integrate them well without knowing what's going on.

Any source/links/suggestions would be great!

thanks,
botbuilder


fredborg(Posted 2003) [#2]
I believe there is a function in the code archives... [edit]Yep, here it is http://www.blitzbasic.com/codearcs/codearcs.php?code=793[/edit]


Bot Builder(Posted 2003) [#3]
ah. I saw that and thought it only concerned rays and lines intersecting each other.

thanks!