Talk:LSL touch

From Second Life Wiki
Jump to navigation Jump to search

This page summarizes the touch, but it does not describes the exact behaviour of the event. Following questions need to be answered:

- Describe the difference between "Touch_start", "Touch_end", "Touch"? - Describe when these events are launched? Is it by selecting the "touch" menu in the pie-button? By touching it by another object / avatar / ...? Also when we select the object menu? With a right mouse click? with a left mouse click? - What happens when we touch an object in a linked object? It is considered as touching the root object? the linked object?

Till now, I'm using the following assumptions: -> The left click triggers the touch-start; -> The click on the "touch" object menu generates a touch-start; -> Generates a touch-start event on the child object AND sometimes on the root object (It happens, but I can not describe the conditions); -> Don't use the touch-end or touch functions.

Can SL confirm these assumptions? Is this how I have to use them in scripting?