Difference between revisions of "LlPassCollisions"

From Second Life Wiki
Jump to navigation Jump to search
m
(SVC-5923 fix behavior change in server 1.40.2)
Line 4: Line 4:
|func=llPassCollisions|p1_type=integer|p1_subtype=boolean|p1_name=pass
|func=llPassCollisions|p1_type=integer|p1_subtype=boolean|p1_name=pass
|func_footnote=The default is [[FALSE]] if there is no script to handle the collision events in the prim.
|func_footnote=The default is [[FALSE]] if there is no script to handle the collision events in the prim.
* '''As of server version 1.40.2, this function now has 3 inputs for operation: 1,2, anything else behaves like 0.''' See {{Jira|SVC-5923}}
* An input of 2 will not pass collisions to root even with no collision script in the child prim.
|func_desc=Sets pass-collisions [[prim]] attribute.
|func_desc=Sets pass-collisions [[prim]] attribute.
|return_text
|return_text

Revision as of 23:33, 8 July 2015

Summary

Function: llPassCollisions( integer pass );

Sets pass-collisions prim attribute.

• integer pass If TRUE collisions are passed from children on to the root, if FALSE collisions are not passed on to the root

The default is FALSE if there is no script to handle the collision events in the prim.

  • As of server version 1.40.2, this function now has 3 inputs for operation: 1,2, anything else behaves like 0. See SVC-5923
  • An input of 2 will not pass collisions to root even with no collision script in the child prim.

Examples

See Also

Deep Notes

All Issues

~ Search JIRA for related Issues
   Add enumeration to llPassCollisions() to provide PASS_ALWAYS, PASS_IF_NOT_HANDLED, and PASS_NEVER as explicit options.
(Was: Collisions passed to parent REGARDLESS llPassCollisions(FALSE) in child)

Signature

function void llPassCollisions( integer pass );