[Solved] JavaScript – determine if two circles will intersect along their path
Position of the first circle is described as x1 = x1_0 + vx1 * t y1 = y1_0 + vy1 * t where x10 is initial x-coordinate, vx1 is x-component of velocity vector, t is time. Make similar expression for the second circle center, build expression for squared distance and find time when squared distance … Read more