- #1
chrom68
- 12
- 0
I am looking to test detect if a cone (described by an apex, angle theta and axis) and a sphere (defined by a sphere centre and a radius) intersect.
Please see here for a complete description (because i can't post the code here):
http://www.gamedev.net/community/forums/topic.asp?topic_id=513868
I am having trouble doing a simple test using this algorithm at the bottom of the link, which brings into question either the code or the validity of the math principles used. Intersections and Misses of the cone and sphere detections aren't consistent. Any advice on what is wrong with the math or the code?
Please see here for a complete description (because i can't post the code here):
http://www.gamedev.net/community/forums/topic.asp?topic_id=513868
I am having trouble doing a simple test using this algorithm at the bottom of the link, which brings into question either the code or the validity of the math principles used. Intersections and Misses of the cone and sphere detections aren't consistent. Any advice on what is wrong with the math or the code?