timelinefx:timelinefx.LineToCircle
Function LineToCircle:Int( x1:Float, y1:Float, x2:Float, y2:Float, px:Float, py:Float, r:Float )
Do a Line to Circle collision check Returns True if line and circle overlap x1, y1 and x2, y2 represent the beginning and end line coordinates, and px, py and r represent the circle coordinates and radius.
Parameters
x1 First x point of the line
y1 First y point of the line
x2 Second x point of the line
y2 Second y point of the line
px x coordinate of the circle
py y coordinate of the circle
r Radius of the circle