Difference between revisions of "TOUCH INVALID VECTOR"

From Second Life Wiki
Jump to navigation Jump to search
(New page: {{LSL Constant |mode=pre-release |name=TOUCH_INVALID_VECTOR |type=vector |value={{LSL VR|0.0|0.0|0.0}} |desc=Returned by llDetectedTouchPos, llDetectedTouchNormal, and [[llDetected...)
 
Line 4: Line 4:
|type=vector
|type=vector
|value={{LSL VR|0.0|0.0|0.0}}
|value={{LSL VR|0.0|0.0|0.0}}
|desc=Returned by [[llDetectedTouchPos]], [[llDetectedTouchNormal]], and [[llDetectedTouchBinormal]] when the [[LSL Touch Position|touch position]] is not valid.  
|desc=Returned by [[llDetectedTouchPos]], [[llDetectedTouchNormal]], and [[llDetectedTouchBinormal]] when the [[LSL Touch Position|touch position]] is not valid.
|examples
|examples
|functions=
|functions=
Line 11: Line 11:
{{LSL DefineRow||[[llDetectedTouchBinormal]]}}
{{LSL DefineRow||[[llDetectedTouchBinormal]]}}
|caveats=*For [[llDetectedTouchPos]], {{LSL VR|0.0|0.0|0.0}} may be a valid value so it is possible to get a false negative in this rare situation.
|caveats=*For [[llDetectedTouchPos]], {{LSL VR|0.0|0.0|0.0}} may be a valid value so it is possible to get a false negative in this rare situation.
|notes=Has the same value as {{LSL Const|ZERO_VECTOR|vecter|{{LSL_VR|0.0|0.0|0.0}}}}.
|events
|events
|cat1=Touch
|cat1=Touch

Revision as of 01:15, 13 September 2008

Description

Constant: vector TOUCH_INVALID_VECTOR = <0.0, 0.0, 0.0>;

The vector constant TOUCH_INVALID_VECTOR has the value <0.0, 0.0, 0.0>

Returned by llDetectedTouchPos, llDetectedTouchNormal, and llDetectedTouchBinormal when the touch position is not valid.

Caveats

  • For llDetectedTouchPos, <0.0, 0.0, 0.0> may be a valid value so it is possible to get a false negative in this rare situation.
All Issues ~ Search JIRA for related Bugs

Related Articles

Notes

Has the same value as ZERO_VECTOR.

Deep Notes