nanos world API Reference Unofficial documentation
Function Network authority Moderate

Actor:SetRotation

Sets this Actor's rotation in the game world

Syntax

Lua
my_actor:SetRotation(rotation)

Parameters

Name Type Default Description
rotation Rotator