nanos world API Reference Unofficial documentation
Function Network authority Moderate

Actor:SetRelativeRotation

Sets this Actor's relative rotation in local space (only if this actor is attached)

Syntax

Lua
my_actor:SetRelativeRotation(relative_rotation)

Parameters

Name Type Default Description
relative_rotation Rotator