Math
math namespace
Functions
vec3
local new_vec = math.vec3(10, 0, 0)
x
number
❌
y
number
parameter x
z
number
parameter x
Returns:
vector object
vector_angles
math.vector_angles(math.vec3(0.5, 0.2, 0.8))
forward
the forward vector to convert to angles
Returns:
angles
angle_vectors
math.angle_vectors(math.vec3(0, 90, 0))
angle
the angle to convert to directions
Returns:
forward
right
up
Last updated