Jump to content
  • Advertisement
Sign in to follow this  
DesignerX

Collision between 2 circles

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

If you intended to correct an error in the post then please contact us.

Recommended Posts

Is there any function from Direct3X for getting the intersection point between two intersecting circles ? If not, how can I compute it myself ? thx.

Share this post


Link to post
Share on other sites
Advertisement
Very easy. Pressuming that x,y and x1,y1 are centres of two circles, and r and r1 are radius of circles then if length of vector(distance) between two coordinates is lesser than r+r1 two circles intersect.

Share this post


Link to post
Share on other sites
This page explains how to calculate the points of intersection, if any exist.

That was the first hit in a Google search for 'Point Of Intersection Two Circles'. The answers come much easier if you learn to take initiative.

Admiral

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!