But I need a cylinder/triangle collision detector.
Where can I find it?
Thanks!
"Jonas Vago" <jv...@mail.tele.dk> wrote in message
news:3b6c35c0$0$52590$edfa...@dspool01.news.tele.dk...
SOLID 2.0 (www.win.tue.nl/~gino/solid/) has an implementation of GJK,
which is an algorithm for collision detection between any pair of convex
types.
Alternatively, as described in David Eberly's book "3D Game Engine
Design", it would be easier if you allowed your cylinder to have
hemisphere caps (shape of a hot dog). Since then you only need to
compute the distance between the triangle and the center line segment of
the cylindrical capsule and compare it with the radius of the
capsule
--
Gino van den Bergen
www.dtecta.com