math namespace
local new_vec = math.vec3(10, 0, 0)
Parameter
Datatype
Default
x
number
â
y
parameter x
z
Value
vector object
math.vec3
math.vector_angles(math.vec3(0.5, 0.2, 0.8))
Description
forward
the forward vector to convert to angles
angles
math.angle_vectors(math.vec3(0, 90, 0))
angle
the angle to convert to directions
right
up
Last updated 1 year ago