VectorUtil
The VectorUtil module provides utility functions for Roblox vectors.
ClampMagnitude(vector, maxMagnitude)
¶
Clamps the magnitude of a vector so it is only a certain length.
1 2 |
|
AngleBetween(vector1, vector2)
¶
Finds the angle (in radians) between two vectors.
1 2 3 |
|
AngleBetweenSigned(vector1, vector2, axisVector)
¶
Finds the signed angle (in radians) between two vectors around the given axis vector.
1 2 3 4 |
|