Difference between revisions of "LlDetectedVel"
Jump to navigation
Jump to search
All Issues ~ Search JIRA for related Bugs
Line 1: | Line 1: | ||
{{LSL_Function | {{LSL_Function/negative_index|false|number}}{{LSL_Function | ||
|func_id=36|func_sleep=0.0|func_energy=10.0 | |func_id=36|func_sleep=0.0|func_energy=10.0 | ||
|sort=DetectedVel | |sort=DetectedVel|func=llDetectedVel|return_type=vector | ||
|func=llDetectedVel|return_type=vector|p1_type=integer|p1_name=number | |p1_type=integer|p1_name=number | ||
|func_footnote=Returns {{LSLG|ZERO_VECTOR|<0.0, 0.0, 0.0>}} if '''number''' is not valid sensed object. | |func_footnote=Returns {{LSLG|ZERO_VECTOR|<0.0, 0.0, 0.0>}} if '''number''' is not valid sensed object. | ||
|func_desc | |func_desc | ||
Line 15: | Line 15: | ||
|also_articles={{LSL DefineRow||{{LSLGC|Detected}}|}} | |also_articles={{LSL DefineRow||{{LSLGC|Detected}}|}} | ||
|notes | |notes | ||
}} | }} | ||
{{LSLC|Detected|vel}} | {{LSLC|Detected|vel}} |
Revision as of 12:03, 28 February 2007
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: vector llDetectedVel( integer number );36 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
Returns a vector that is the velocity of detected object number.
• integer | number |
number does not support negative indexes. Returns <0.0, 0.0, 0.0> if number is not valid sensed object.
Caveats
- If number is out of bounds the script continues to execute without an error message.
Examples
See Also
Articles
• | Detected |