I\'ve tried searching for a javascript function that will detect if two lines intersect each other.
The function will take the x,y values of both the start end point
Use the pythageorum theorum to find the distance between the 2 objects and add the radius Pythageorum Theorum Distance Formula