ll.RotTarget

ll.RotTarget(Rotation: quaternion, LeeWay: number) : number

Set rotations with error of LeeWay radians as a rotational target, and return an ID for the rotational target. The returned number is a handle that can be used in at_rot_target and llRotTargetRemove.

Example

ll.RotTarget(quaternion(0,0,0,1), 3.14)
{
  "def": "func",
  "desc": "Set rotations with error of LeeWay radians as a rotational target, and return an ID for the rotational target.\nThe returned number is a handle that can be used in at_rot_target and llRotTargetRemove.",
  "energy": 10,
  "sleep": 0,
  "pure": false,
  "link": "https://wiki.secondlife.com/wiki/LlRotTarget",
  "name": "RotTarget",
  "signatures": [
    {
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            "number"
          ],
          "optional": false
        }
      ],
      "args": [
        {
          "def": "arg",
          "name": "Rotation",
          "desc": "",
          "type": [
            "quaternion"
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "LeeWay",
          "desc": "",
          "type": [
            "number"
          ],
          "variadic": false,
          "optional": false
        }
      ]
    }
  ]
}

< Back to ll