LSL Touch Position
LSL Header:
{{LSL Header|ml=*}}LSLC: {{LSLC|}}Here we propose an extension of the detected LSL functions to determine surface information for touch events. Each of the following functions is valid only inside
touch_start, touch, and touch_end events. In the case of touch events, which are triggered repeatedly while the mouse button is held down, the surface information is valid (and is updatedly correctly) as long as the mouse remains over the surface of the object (allowing psuedo GUI builds with sliders, levers, dials, etc.)vector llDetectedTouchPos(integer number)integer llDetectedTouchFace(integer number)vector llDetectedTouchUV(integer number)vector llDetectedTouchST(integer number)vector llDetectedTouchNormal(integer number)Returns the surface normal of the position touched by detected object
number. (A normal is a vector perpendicular to the surface.)vector llDetectedTouchBinormal(integer number)Returns the surface binormal of the position touched by detected object
number. (A binormal is a vector tangent to the surface pointing along the U direction of tangent space.)Call for Feedback
Links
Internal LL Jira
https://jira.lindenlab.com/browse/DEV-9985
Original wiki source
Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.