phaser - v4.0.0-rc.4
    Preparing search index...
    • Checks for intersection between the line segment and circle, and returns the intersection points as a Point object array.

      Parameters

      • line: Geom.Line

        The line segment to check.

      • circle: Circle

        The circle to check against the line.

      • Optionalout: Math.Vector2[]

        An optional array of Vector2 objects in which to store the points of intersection.

      Returns Math.Vector2[]