Skip to content

llCollisionFilter

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

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

Parameters
ObjectName (string)
ObjectID (string)
Accept (number)
If TRUE, only accept collisions with ObjectName name AND ObjectID (either is optional), otherwise with objects not ObjectName AND ObjectID.

Add example usage here showing SLua/Luau syntax with ll.CollisionFilter().

Add additional notes, caveats, or tips specific to using this function in SLua/Luau.