nanos world API Reference Unofficial documentation
Function Shared

Vector.ToOrientationQuat

Return the Quaternion orientation corresponding to the direction in which the vector points

Syntax

Lua
my_vector:ToOrientationQuat()

Returns

  • Quat The orientation of the vector