angleBetweenPointsY(point1, point2) → {number}
Find the angle of a segment from (point1.x, point1.y) -> (point2.x, point2.y).
Parameters
Name | Type | Description |
---|---|---|
point1 | Phaser.Point | |
point2 | Phaser.Point |
Returns
number -
The angle, in radians.
- Source code: math/Math.js (Line 453)
Please login to continue.