Difference between revisions of "LlCollisionFilter"

From Second Life Wiki
Jump to navigation Jump to search
Line 12: Line 12:
|caveats
|caveats
|constants
|constants
|examples
|examples=
Stop filtering:
<pre>llCollisionFilter("", NULL_KEY, TRUE);</pre>
Filter out all collisions:
<pre>llCollisionFilter("", NULL_KEY, FALSE);</pre>
|helpers
|helpers
|also_functions=
|also_functions=

Revision as of 10:40, 29 November 2007

Summary

Function: llCollisionFilter( string name, key id, integer accept );
0.0 Forced 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);

See Also

Events

•  collision_start
•  collision
•  collision_end

Functions

•  llPassCollisions
•  llVolumeDetect

Deep Notes

Signature

function void llCollisionFilter( string name, key id, integer accept );