Code: Select all
default
{
collision_start(integer n)
{
llSay(0, "collision detected");
}
}
Collisions with the root prim trigger the collision_start event. But I also expected that the collision_start event would be triggered if I collide with any of the child prims.
Collisions with child prims in the above linkset should trigger the collision_start event, according to information on the following pages:
The old lsl wiki: http://lslwiki.net/lslwiki/wakka.php?wa ... sion_start (the new one doesn't even discuss it)
An opensim JIRA issue (look at the Additional Information section): http://opensimulator.org/mantis/view.php?id=4964
This does not happen though. Only collisions with the root prim trigger the event in the linkset described above.
However, *IF* I put a script in one of the child prims, even an empty script or a script that is set to not run, collisions with that child prim trigger the collision_start event in the root prim. That is very odd to me. I can even put a broken script in a child prim, and the collision_start event is triggered in the root.
Does anyone know what the current official "expected behavior" is?