nanos world API Reference Unofficial documentation
Function Shared

Vector.ToOrientationRotator

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

Syntax

Lua
my_vector:ToOrientationRotator()

Returns

  • Rotator The orientation of the vector