Intersection Line with circle

Hi guys, do you maybe know how to find an intersection point between line and circle and generally.
I know they don’t share same point but I need the closest one.

Is the only way to compare array of points and find similar numbers or there is easier solution?

Thanks!


image

There are many resources on the web about line and circle intersections.

For eg:

1 Like

I was think if there are some integrated functions in babylon.js.

Thanks!