llPassCollisions(integer pass)
If
pass is
TRUE,
collisions (both the
land and
object/avatar type) are passed from
child to
parent: In a
linked object,
llPassCollisions controls whether
collisions are passed from a
child prim on to the
parent, or handled
locally.
To block collisions from being passed to the parent prim, the child prim must contain a script with a
collision_start,
collision, or
collision_end event handler. In the absence of one of these three events, collisions are automatically passed to the parent, whether or not
llPassCollisions(FALSE) has been set.
llPassCollisions is used when you
do want collisions to be sent to the parent prim, when the child already contains a script with a
collision_start,
collision, or
collision_end event handler. To accomplish this, use
llPassCollisions(TRUE). llPassCollisions(TRUE) is also the only way to get a parent prim to register when a child prim collides with the land (using the
land_collision event) when the child prim has a script.
llPassTouches performs the same function, only with
touches instead of collisions.
This article wasn't helpful for you? Maybe the
related article at the LSL Portal is able to bring enlightenment.
Functions |
Link |
Collisions