Skip to content

llSetAgentRot

function ll.SetAgentRot(rot: quaternion, flags: number)

Sets the avatar rotation to the given value.

Parameters
rot (quaternion)
Rotation to turn the avatar to face.
flags (number)
flags

Add example usage here showing SLua/Luau syntax with ll.SetAgentRot().

Add additional notes, caveats, or tips specific to using this function in SLua/Luau.