🔨Rotate Vector2

<Vector2> Utilities.RotateVector2(<Vector2> Vector, <number> Angle)

Converts the Vector by an Angle in radians.

Parameters

Name
Description
Type
Default
Optional

Vector

The vector to rotate

Vector2

N/A

Angle

The angle in radians to rotate by

number

N/A

Return

<Vector2> the rotated vector

Last updated