Hi there,

Im trying to find the minimum distance(sum of their radii) between two circles.

The circles have position vectors a radius and a velocity vector.

i can find the minimum(s) distance using Pythagoras and a loop. but this is costly i would much prefer to use some sort of differentiation.

a=sum of radii

b=(x1+Vx1*t)-(x2+Vx2*t)

c=(y1+Vy1*t)-(y2+Vy2*t)

Best regards,

Mark