Vec3
A three dimensional vector.
Properties
Methods
Vec3:new(x, y, z)
Vec3:new(x, y, z)length()
length()distanceTo(otherVec3)
distanceTo(otherVec3)distanceTo2D(otherVec3)
distanceTo2D(otherVec3)getXYAngle()
getXYAngle()normalize360()
normalize360()normalized()
normalized()scale(scalar)
scale(scalar)screenPosition()
screenPosition()toVec2()
toVec2()toString()
toString()Last updated