Click or drag to resize

Vector2Perpendicular Method

Returns a perpendicular vector rotated 90 degrees counter-clockwise compared to the original, with the same length.

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

Return Value

Type: Vector2
The perpendicular vector.
See Also