llDetectedTouchBinormal
vector llDetectedTouchBinormal(integer index// Index of the detection information.
);- Returns
vector- Energy
- 10
For the touch category of events only. The prim that was touched may not be the prim receiving the event, use llDetectedLinkNumber to check for this; likewise you can use llDetectedTouchFace to determine which face was touched.To find the third tangent vector, cross this vector with the normal.
Returns a vector that is the surface binormal (tangent to the surface, pointing along the positive T (V) direction of tangent space) where the touch event was triggered. Along with llDetectedTouchNormal, this information can be used to find the tangent space at the touch location.
vector result = llDetectedTouchBinormal(0);Caveats
Section titled “Caveats”TOUCH_INVALID_VECTORis returned when…- The avatar’s viewer does not support face touch detection.
- To check if face touch detection is supported check the return of
llDetectedTouchFace. - The touch has moved off the surface of the prim.
- The event triggered is not a touch event.
Examples
Section titled “Examples”Example 1
default{ touch_start(integer total_num) { llOwnerSay((string)llDetectedTouchBinormal(0)); }}History
Section titled “History”- Introduced in Viewer SVN:870 r92872 Branch:Release Wednesday, 23 July 2008, no server support, no viewer binary released.
- Server support available on preview grid in Second Life Beta Server 1.24, client support in Preview Grid viewer 1.20.15 (93532)
- Date of Release Server 29-08-2008
- Date of Release Client 16-10-2008
See also
Section titled “See also”Functions
Section titled “Functions”llDetectedLinkNumberllDetectedTouchFacellDetectedTouchSTllDetectedTouchUVllDetectedTouchPosllDetectedTouchNormal
Events
Section titled “Events”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.