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