I am new to collision detection with circles. I pretty much know how to do collision detection with rectangles, and i am going to start with circles. to get collision detection for 2 circles, i "think" i would find out the center point of the two circles and then find out the distance between the 2 center points of the 2 circles. Then i would subtract the sum of each circle's radius. If the remaining number is >= 0 then a collision has taken place. If not, a collision hasnt taken place.
So here's my questions:
1. how do i find out the center point of a circle?
2. how do i find out the distance between two center points of 2 circles?
3. how do i find the radius of a circle?
Thanks for any help!




Reply With Quote