Vector2AngleToPoint Method |
Returns the angle between the line connecting the two points and the X axis, in radians.
Namespace:
Godot
Assembly:
GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax public float AngleToPoint(
Vector2 to
)
Parameters
- to
- Type: GodotVector2
The other vector to compare this vector to.
Return Value
Type:
SingleThe angle between the two vectors, in radians.
See Also