Difference between revisions of "LlDetectedTouchPos"

From Second Life Wiki
Jump to navigation Jump to search
m
Line 31: Line 31:
|also_articles
|also_articles
|notes
|notes
|history=*Introduced in Viewer {{SVN|870|rev=92872|branch=Release|anchor=file14|date=Wednesday, 23 July 2008}}, no server support, no viewer binary released.
|history=*Introduced in Viewer {{SVN|870|rev=92872|branch=Release|anchor=file14|date=Wednesday, 23 July 2008}}.
*Server support available on preview grid in Second Life Beta Server 1.24, client support in Preview Grid viewer 1.20.15 (93532)
*Server support available in Second Life Server 1.24.7.98039, client support in Release Candidate viewer 1.21.4 (98167).
|cat1=Touch
|cat1=Touch
|cat2
|cat2

Revision as of 20:48, 2 October 2008

Summary

Function: vector llDetectedTouchPos( integer index );

Returns a vector that is the position where the object was touched in region coordinates, unless it is attached to the HUD, in which case it returns the position relative to the attach point.

• integer index Index of detection information

index does not support negative indexes. For the touch category of events only.

Caveats

  • If index is out of bounds the script continues to execute without an error message.ZERO_VECTOR is returned when...
  • The avatar's viewer does not support face touch detection.
  • The touch has moved off the surface of the prim.
  • The triggering event is not a touch event.
All Issues ~ Search JIRA for related Bugs

Examples

See Also

Deep Notes

History

Search JIRA for related Issues

Signature

function vector llDetectedTouchPos( integer index );