ll.ApplyRotationalImpulse

ll.ApplyRotationalImpulse(Force: vector, Local: number) : ()

Applies rotational impulse to the object. If Local == TRUE, apply the Force in local coordinates; otherwise, apply the Force in global coordinates. This function only works on physical objects.

Example

ll.ApplyRotationalImpulse(vector(1,1,1), 11)
{
  "def": "func",
  "desc": "Applies rotational impulse to the object.\nIf Local == TRUE, apply the Force in local coordinates; otherwise, apply the Force in global coordinates.\nThis function only works on physical objects.",
  "energy": 10,
  "sleep": 0,
  "pure": false,
  "link": "https://wiki.secondlife.com/wiki/LlApplyRotationalImpulse",
  "name": "ApplyRotationalImpulse",
  "signatures": [
    {
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            "()"
          ],
          "optional": false
        }
      ],
      "args": [
        {
          "def": "arg",
          "name": "Force",
          "desc": "Amount of impulse force to apply.",
          "type": [
            "vector"
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "Local",
          "desc": "Boolean, if TRUE, uses local axis, if FALSE, uses region axis.",
          "type": [
            "integer",
            "number"
          ],
          "variadic": false,
          "optional": false
        }
      ]
    }
  ]
}

< Back to ll