Vector3.getNormalized() - Mtax-Development/GML-OOP GitHub Wiki

Argument

Name
Type
Optional
magnitude?
Yes

Returns

{Vector3}

Description

Return the unit vector of this Vector3, which will have its values placed between -1 and 1, but with the same direction. These values are then multiplied by the specified magnitude. If this operation would be invalid, a directionless vector will be returned.

⚠️ **GitHub.com Fallback** ⚠️