[Opensim-dev] touch_start in linked prims

Will Jones wj at hwi.com
Tue Jul 8 21:00:44 UTC 2008


Thank you Melanie and Kurt,

I went back to SL and you are correct about the way scripts behave in linked 
prims. Part of my problem is testing several versions of OpenSim and 
Openlife. In the current OpenLife version I downloaded, touch scripts only 
seem to work as expected in the root prim. I will bring up the 0.5.8 build 
of OpenSim and see if that fixes the problem.

Thanks again,
Will


----- Original Message ----- 
From: "krtaylor" <krtaylor at linux.vnet.ibm.com>
To: <opensim-dev at lists.berlios.de>
Sent: Tuesday, July 08, 2008 1:53 PM
Subject: Re: [Opensim-dev] touch_start in linked prims


> When I first implemented/fixed touch_start for linked groups, I thought
> just as you did Will.  But Melanie showed me the error of my ways (and
> supplied a patch too).   ;-)   I went back and did a bunch of testing
> and I believe that we are handling touch_start correctly now...
>
> -- 
> Kurt R Taylor (Kurt Stringer)
>
> Open Virtual Worlds Development
> http://opensimulator.org   http://opensim.ibm.com
> International Business Machines, Corp.
> (512) 838-2496    T/L:  678
>
>
>
> Melanie wrote:
>> Hello,
>>
>> in fact, OpenSim duplicates the SecondLife touch behavior exactly.
>> In SecondLife, all prims are touchable when the root prim is.
>>
>> Please log into SecondLife and verify that. A great many objects,
>> including multipanel vendors, light switches, etc, depend on this
>> behavior.
>>
>> If the root prim has a touch_start event, all prims become
>> touchable. All touches are passed to the root prim, unless the
>> touched child also has a touch_start handler, in which case the
>> touch is handled locally.
>>
>> If only a child prim has a touch_start event, only that child prim
>> is "hot". This is exact SL behavior. If a child prim is touched,
>> llDetectedLinkNumber() can be used to determine which child prim was
>> touched.
>>
>> Melanie
>>
>>
>> Will Jones wrote:
>>
>>> I have noticed that in OpenSim, if the root prim in a linked set has a 
>>> touch_start handler, and none of the other prims have touch_start, 
>>> clicking any of the prims in the linked set sends the touch event to the 
>>> root prim. In Second Life, this doesn't
> happen as only the root prim with the touch_start handler is hot.
>>>
>>> Is having the touch event propagate from any prim in a linked set up to 
>>> the root prim the OpenSim standard even though it is different from LSL 
>>> in Second Life?
>>>
>>> Thank you,
>>> Will Jones
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Opensim-dev mailing list
>>> Opensim-dev at lists.berlios.de
>>> https://lists.berlios.de/mailman/listinfo/opensim-dev
>>>
>> _______________________________________________
>> Opensim-dev mailing list
>> Opensim-dev at lists.berlios.de
>> https://lists.berlios.de/mailman/listinfo/opensim-dev
>>
>
>
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev


--------------------------------------------------------------------------------



Internal Virus Database is out of date.
Checked by AVG.
Version: 8.0.134 / Virus Database: 270.4.5/1535 - Release Date: 7/4/2008 
5:03 PM




More information about the Opensim-dev mailing list