Click or drag to resize

Vector3MoveToward Method

Moves this vector toward `to` by the fixed `delta` amount.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Vector3 MoveToward(
	Vector3 to,
	float delta
)

Parameters

to
Type: GodotVector3
The vector to move towards.
delta
Type: SystemSingle
The amount to move towards by.

Return Value

Type: Vector3
The resulting vector.
See Also