Vector2DirectionTo Method |
Returns the normalized vector pointing from this vector to `b`.
Namespace:
Godot
Assembly:
GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax public Vector2 DirectionTo(
Vector2 b
)
Parameters
- b
- Type: GodotVector2
The other vector to point towards.
Return Value
Type:
Vector2The direction from this vector to `b`.
See Also