Collision
by Devildrew · in Torque Game Engine · 07/27/2004 (5:25 am) · 2 replies
Does any one know the formula for a ray intersecting a cylinder?
I need to find it using the castRay function in my own renderobject class.
Thanks.
I need to find it using the castRay function in my own renderobject class.
Thanks.
About the author
#2
Rich
PS - he doesn't give the "formula" specifically for a cylinder, but he has one for a capsule and explains how to adapt it for a cylinder.
Rich (again)
08/14/2004 (9:10 am)
May I recommend "3D Game Engine Design" by David H. Eberly from Morgan Kaufmann press? There are explainations for every type of collision detection you could want....Rich
PS - he doesn't give the "formula" specifically for a cylinder, but he has one for a capsule and explains how to adapt it for a cylinder.
Rich (again)
Associate Kyle Carter