
Emanuele Feronato has written this tutorial for circle to line segment intersection detection: "As a part in a bigger project ÔÇô which you will hear about soon ÔÇô I needed to find a quick way to check for collisions between a line segment and a circle.
ItÔÇÖs quite an easy task, but man, I found a lot of really weird ways to do it, so hereÔÇÖs my take ..."
This is handy for Phaser 2, but if you're using Phaser 3 then we provide the built-in Phaser.Geom.Intersects.LineToCircle function for you.
