I have a circle and a line.
When the circle is near the line I want it to snap to the line.
I've tried to do this by making the circle a bigger circle, which means the overlap occurs sooner.
That bit works.
I can't figure out how to centre the circle over the line, or rather the point on the line where the overlap occurred, thus making a "snap" effect.