llPassCollisions
Jump to navigation
Jump to search
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: llPassCollisions( integer pass );0.0 | Forced Delay |
10.0 | Energy |
Sets the pass-collisions prim attribute.
• integer | pass | – | PASS_* flag |
Whether Collisions are passed to the root prim depends not only on which PASS_* flag is selected, but may also depend on if there is a script that in the prim that handles one of the collision events. For this reason most users will want to use PASS_ALWAYS or PASS_NEVER as they do not have this variable behavior.
The default value for this attribute is PASS_IF_NOT_HANDLED.
pass Constant | Value | collision Script | No collision Script | Description |
---|---|---|---|---|
PASS_IF_NOT_HANDLED | 0 | not passed | passed | Default: Collisions are passed if there is no script handling the event in the prim. |
PASS_ALWAYS | 1 | passed | passed | Collisions are always passed to the root. |
PASS_NEVER | 2 | not passed | not passed | Collisions are never passed to the root. |
Caveats
- Has no known effect if called from within the root prim.
Examples
See Also
Events
• | collision_start | |||
• | collision | |||
• | collision_end |
Functions
• | llPassTouches | |||
• | llCollisionFilter | |||
• | llCollisionSound | |||
• | llCollisionSprite | |||
• | llVolumeDetect |