Click or drag to resize

Vector2DirectionTo Method

Returns the normalized vector pointing from this vector to `b`.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Vector2 DirectionTo(
	Vector2 b
)

Parameters

b
Type: GodotVector2
The other vector to point towards.

Return Value

Type: Vector2
The direction from this vector to `b`.
See Also