ll.SetKeyframedMotion

ll.SetKeyframedMotion(Keyframes: list, Options: list) : ()

Requests that a non-physical object be key-framed according to key-frame list. Specify a list of times, positions, and orientations to be followed by an object. The object will be smoothly moved between key-frames by the simulator. Collisions with other non-physical or key-framed objects will be ignored (no script events will fire and collision processing will not occur). Collisions with physical objects will be computed and reported, but the key-framed object will be unaffected by those collisions. Keyframes is a strided list containing positional, rotational, and time data for each step in the motion. Options is a list containing optional arguments and parameters (specified by KFM_* constants).

Example

ll.SetKeyframedMotion({}, {})
{
  "def": "func",
  "desc": "Requests that a non-physical object be key-framed according to key-frame list.\nSpecify a list of times, positions, and orientations to be followed by an object. The object will be smoothly moved between key-frames by the simulator. Collisions with other non-physical or key-framed objects will be ignored (no script events will fire and collision processing will not occur). Collisions with physical objects will be computed and reported, but the key-framed object will be unaffected by those collisions.\nKeyframes is a strided list containing positional, rotational, and time data for each step in the motion. Options is a list containing optional arguments and parameters (specified by KFM_* constants).",
  "energy": 10,
  "sleep": 0,
  "pure": false,
  "link": "https://wiki.secondlife.com/wiki/LlSetKeyframedMotion",
  "name": "SetKeyframedMotion",
  "signatures": [
    {
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            "()"
          ],
          "optional": false
        }
      ],
      "args": [
        {
          "def": "arg",
          "name": "Keyframes",
          "desc": "Strided keyframe list of the form: position, orientation, time. Each keyframe is interpreted relative to the previous transform of the object.",
          "type": [
            "list"
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "Options",
          "desc": "",
          "type": [
            "list"
          ],
          "variadic": false,
          "optional": false
        }
      ]
    }
  ]
}

< Back to ll