llCollisionFilter

From Second Life Wiki
Revision as of 16:27, 27 August 2009 by Strife Onizuka (talk | contribs) (This is a prime example of a BAD example. 1) The code has bugs, 2) Whitespace inconsistency detrimental to readability, 3) Bad grammar & spelling in comments. fix removes llCollisionFilter from code)
Jump to navigation Jump to search

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 );