• Advertisement
Sign in to follow this  

Calculate reflection vector if two circles intersect

This topic is 369 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

Hi,

i would like to calculate the reflection vector if two circles intersect each other. A circle is an object with radius, [x,y] and velocity vector [x_v,y_v]. How could i do that? In this case I don't have a normal vector like in the case of a line / circle intersection, have I?

Edited by IsItSharp

Share this post


Link to post
Share on other sites
Advertisement

Thanks for your reply, do you mean like this?

var normal = circ.pos.sub(cir.pos).normalize();

 

Where circ and cir are two circles which intersect each other.

Share this post


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

  • Advertisement