Click or drag to resize

Vector2Slide Method

Returns this vector slid along a plane defined by the given normal.

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

Parameters

normal
Type: GodotVector2
The normal vector defining the plane to slide on.

Return Value

Type: Vector2
The slid vector.
See Also