# geometric collision in c++

This topic is 3683 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

How can i find the points of intersection between a sphere and solid cone? [Edited by - chrome68 on November 12, 2008 5:49:19 AM]

##### Share on other sites
how about finding the closest point on cone to the sphere centre? That should be relatively easy.

##### Share on other sites
Thanks for your suggestion. The intersection between a cone and a sphere is curved area, so lets assume its is a plane (which can't be mathematically defined). So the question is what is the nearest point on the cone, to the sphere centre (presumably perpendicular). Bear in mind that the sphere centre could be outside the sphere or inside, its radius determines whether there is a collision or not. The problem is the desription of the cone before any calculation can begin, which can be found in pdf

The closest point should lie on a line of some sort on the slant of the cone. The cone is defined by an axis vector, apex vertex and angle theta.

How can i find the point on the cone?

1. 1
2. 2
3. 3
4. 4
Rutin
13
5. 5

• 13
• 10
• 9
• 9
• 11
×