Hello!
I should implement a collision detection by using a bounding sphere. First I calculated the center point of my object - a pyramide. Then I calculated the radius by finding out the biggest distance from the center point to another point of the object.
My problem is the following: How can I compare the distance of two center points of two objects? All I know are the vertices of the two objects, but not the pixel coordinates in world coordinates.
Do you know a solution?