LlCollisionFilter
From Second Life Wiki
| LSL Portal | | | Functions | | | Events | | | Types | | | Operators | | | Constants | | | Flow Control | | | Script Library | | | Tutorials |
Description
Function: llCollisionFilter( string name, key id, integer accept );| 110 | Function ID |
| 0.0 | Delay |
| 10.0 | Energy |
Sets the collision filter, exclusively or inclusively.
| • string | name | |||
| • key | id | |||
| • integer | accept |
if accept == TRUE, only accept collisions with objects name and id (either is optional), otherwise with objects not name or id
Examples
Stop filtering:
llCollisionFilter("", NULL_KEY, TRUE);
Filter out all collisions:
llCollisionFilter("", NULL_KEY, FALSE);

