Checks for intersection between the line segment and circle, and returns the intersection points as a Point object array.
name | type | arguments | description |
---|---|---|---|
line | Phaser.Geom.Line |
The line segment to check. |
|
circle | Phaser.Geom.Circle |
The circle to check against the line. |
|
out | array | <optional> |
An optional array in which to store the points of intersection. |
An array with the points of intersection if objects intersect, otherwise an empty array.