Difference between revisions of "TOUCH INVALID VECTOR"

From Second Life Wiki
Jump to navigation Jump to search
m
(note: *Is treated like FALSE in {{LSLGC|Conditional|conditionals}}.)
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=

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.
All Issues ~ Search JIRA for related Bugs

Related Articles

Notes

Deep Notes

Has the same value as ZERO_VECTOR.

History

Search JIRA for related Issues

Signature

vector TOUCH_INVALID_VECTOR = <0.0, 0.0, 0.0>;