PDA

View Full Version : CSG Collisions



Kev~
10-14-2000, 06:07 AM
Hi,

I have two cylindrical primatives modeled in openGL. They can be oriented at any angle.

I was wondering if there is a method whereby you can detect if they intersect when you have only thier origin/radius/height details?

if anyone has any ideas of other ways in which i could do collision detection then i would appreciated some advise as i'm rather stuck

thing is i cant use any kind of triangle intersection thing because these are dynamically changing objects - not meshes.

thanks,
kev.

zed
10-14-2000, 07:49 PM
theres a lot of collision code here http://www.magic-software.com/ (the author has recently brought out a book as well which might be worth looking into)
also IIRC the SOLID and others collision detection libraries are able to handle cylinders