ll.SetAgentRot

ll.SetAgentRot (rot: quaternion, flags: number) -> ()

Sets the avatar rotation to the given value.

Example

ll.SetAgentRot(quaternion(0,0,0,1), 3.14)
Raw function spec json
{
  "def": "func",
  "desc": "Sets the avatar rotation to the given value.",
  "energy": 10,
  "sleep": 0,
  "must_use": false,
  "link": "https://wiki.secondlife.com/wiki/LlSetAgentRot",
  "private": false,
  "takesSelf": false,
  "name": "SetAgentRot",
  "signatures": [
    {
      "def": "signature",
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            {
              "def": "simple",
              "value": "()"
            }
          ],
          "optional": false
        }
      ],
      "args": [
        {
          "def": "arg",
          "name": "rot",
          "desc": "Rotation to turn the avatar to face.",
          "type": [
            {
              "def": "simple",
              "value": "quaternion"
            }
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "flags",
          "desc": "flags",
          "type": [
            {
              "def": "simple",
              "value": "number"
            }
          ],
          "variadic": false,
          "optional": false
        }
      ]
    }
  ]
}

< Back to ll