Nodes > Math > Trigonometry > ATan2
Returns the angle (in radians) formed by the horizontal offset X and vertical offset Y.
Unlike Atan, this takes the signs of X and Y into account so that the resulting angle is placed in the correct quadrant.
Inputs
Name | Type | Description |
---|---|---|
X | float | Horizontal offset |
Y | float | Vertical offset |
Outputs
Name | Type | Description |
---|---|---|
atan2( Y, X ) | float | Angle (in radians) formed by X and Y |
Was this page helpful?