phaser - v3.90.0
    Preparing search index...
    • Find the angle of a segment from (point1.x, point1.y) -> (point2.x, point2.y).

      The difference between this method and Phaser.Math.Angle.BetweenPoints is that this assumes the y coordinate travels down the screen.

      Parameters

      Returns number