Difference between revisions of "LlGroundSlope"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
{{LSL_Function | {{LSL_Function | ||
|inject-2={{LSL Function/offset|offset|noZ=*}} | |inject-2={{LSL Function/offset|offset|noZ=*|sim=*}} | ||
|func_id=221|func_sleep=0.0|func_energy=10.0 | |func_id=221|func_sleep=0.0|func_energy=10.0 | ||
|func=llGroundSlope | |func=llGroundSlope | ||
|return_type=vector|p1_type=vector|p1_name=offset | |return_type=vector|p1_type=vector|p1_name=offset | ||
|func_footnote | |func_footnote | ||
|func_desc | |func_desc | ||
|return_text=that is the ground slope below the object [[llGetPos|position]] + {{LSLP|offset}} | |return_text=that is the ground slope below the object [[llGetPos|position]] + {{LSLP|offset}} |
Revision as of 10:51, 18 June 2012
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: vector llGroundSlope( vector offset );221 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
Returns a vector that is the ground slope below the object position + offset
• vector | offset | – | offset relative to the prim's position and expressed in local coordinates |
The requested position needs to be in the same region. Only the x and y coordinates in offset are important, the z component is ignored.
Caveats
Examples
See Also
Functions
• | llGround | – | Gets the ground height | |
• | llGroundContour | – | Gets the ground contour | |
• | llGroundNormal | – | Gets the ground normal |