phaser - v4.0.0-rc.4
    Preparing search index...
    • Checks if two Lines intersect. If the Lines are identical, they will be treated as parallel and thus non-intersecting.

      Parameters

      • line1: Geom.Line

        The first Line to check.

      • line2: Geom.Line

        The second Line to check.

      • Optionalout: Vector2Like

        An optional point-like object in which to store the coordinates of intersection, if needed.

      Returns boolean