ll.TargetOmega

ll.TargetOmega(Axis: vector, SpinRate: number, Gain: number) : ()

Attempt to spin at SpinRate with strength Gain on Axis. A spin rate of 0.0 cancels the spin. This function always works in object-local coordinates.

Example

ll.TargetOmega(vector(1,1,1), 3.14, 3.14)
{
  "def": "func",
  "desc": "Attempt to spin at SpinRate with strength Gain on Axis.\nA spin rate of 0.0 cancels the spin. This function always works in object-local coordinates.",
  "energy": 10,
  "sleep": 0,
  "pure": false,
  "link": "https://wiki.secondlife.com/wiki/LlTargetOmega",
  "name": "TargetOmega",
  "signatures": [
    {
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            "()"
          ],
          "optional": false
        }
      ],
      "args": [
        {
          "def": "arg",
          "name": "Axis",
          "desc": "",
          "type": [
            "vector"
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "SpinRate",
          "desc": "",
          "type": [
            "number"
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "Gain",
          "desc": "",
          "type": [
            "number"
          ],
          "variadic": false,
          "optional": false
        }
      ]
    }
  ]
}

< Back to ll