I'm trying to develop a simulation in C#, and I have to find the intersection (or collision) point of two moving circles, in 2D space.
Actually one of my circles will be stationary, so only one of them will be moving (linearly, i.e. constant velocity)
So I have two circles with radii R1 and R2, and center points P1 and P2, and the point P1 is changing with constant velocity V1, so I need a way to determine at which point will they collide, also to check if they will collide at all.
Thanks for any help !
Edit :
For the checking (if they will collide) part, I think we can do it by simply calculating the shortest distance between the first circle's velocity line, and the second circle's center, and checking if the distance is greater than R1+R2, so the only thing remains is to find the collision point.
So the question is :
I am assuming the circles will collide, and I need an expression for the collision point P, in terms of P1, P2, R1, R2 and V1.