[Opensim-dev] touch_start in linked prims

krtaylor krtaylor at linux.vnet.ibm.com
Tue Jul 8 19:53:03 UTC 2008


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
>   





More information about the Opensim-dev mailing list