Difference between revisions of "LlCollisionFilter"

From Second Life Wiki
Jump to: navigation, search
m (multi lang)
m (fixe)
Line 1: Line 1:
{{Multi-lang}}{{LSL_Function
+
{{LSL_Function
 
|func_id=110|func_sleep=0.0|func_energy=10.0
 
|func_id=110|func_sleep=0.0|func_energy=10.0
 
|sort=CollisionFilter
 
|sort=CollisionFilter

Revision as of 11:56, 29 January 2008

Summary

Function: llCollisionFilter( string name, key id, integer accept );

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: <lsl>llCollisionFilter("", NULL_KEY, TRUE);</lsl> Filter out all collisions:

<lsl>llCollisionFilter("", NULL_KEY, FALSE);</lsl>

See Also

Events

•  collision_start
•  collision
•  collision_end

Functions

•  llPassCollisions
•  llVolumeDetect

Deep Notes

Search JIRA for related Issues

Signature

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