TOUCH INVALID VECTOR: Difference between revisions

From Second Life Wiki
Jump to navigation Jump to search
Strife Onizuka (talk | contribs)
mNo edit summary
Zai Lynch (talk | contribs)
note: *Is treated like FALSE in {{LSLGC|Conditional|conditionals}}.
(One intermediate revision by one other user not shown)
Line 5: Line 5:
|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.
|notes=
*Is treated like [[FALSE]] in {{LSLGC|Conditional|conditionals}}.
|examples
|examples
|functions=
|functions=
Line 19: Line 21:
|history=
|history=
*Introduced in {{SVN|1167|rev=96080|branch=viewer_1-21-2|anchor=file24|date=Tuesday, 09 September 2008}}
*Introduced in {{SVN|1167|rev=96080|branch=viewer_1-21-2|anchor=file24|date=Tuesday, 09 September 2008}}
*Merged into Trunk {{SVN|1169|rev=96492|anchor=file24|date=Thursday, 11 September 2008}}
*Merged into Trunk {{SVN|1169|rev=96492|trunk=*|anchor=file24|date=Thursday, 11 September 2008}}
}}
}}

Revision as of 18:25, 5 August 2009

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.


Related Articles

Notes

Deep Notes

Has the same value as ZERO_VECTOR.

History

Search Canny for related Issues

Signature

vector TOUCH_INVALID_VECTOR = <0.0, 0.0, 0.0>;