ll.CollisionFilter

ll.CollisionFilter(ObjectName: string, ObjectID: uuid, Accept: number) : ()

Specify an empty string or NULL_KEY for Accept, to not filter on the corresponding parameter.

Example

ll.CollisionFilter('test', uuid(<key>), 8)
{
  "def": "func",
  "desc": "Specify an empty string or NULL_KEY for Accept, to not filter on the corresponding parameter.",
  "energy": 10,
  "sleep": 0,
  "pure": true,
  "link": "https://wiki.secondlife.com/wiki/LlCollisionFilter",
  "name": "CollisionFilter",
  "signatures": [
    {
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            "()"
          ],
          "optional": false
        }
      ],
      "args": [
        {
          "def": "arg",
          "name": "ObjectName",
          "desc": "",
          "type": [
            "string"
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "ObjectID",
          "desc": "",
          "type": [
            "uuid",
            "string"
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "Accept",
          "desc": "If TRUE, only accept collisions with ObjectName name AND ObjectID (either is optional), otherwise with objects not ObjectName AND ObjectID.",
          "type": [
            "integer",
            "number"
          ],
          "variadic": false,
          "optional": false
        }
      ]
    }
  ]
}

< Back to ll