Difference between revisions of "LlGroundSlope"

From Second Life Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
{{LSL_Function
{{LSL_Function
|inject-2={{LSL Function/position|offset|local=noZ}}
|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
Line 5: Line 6:
|func_footnote=The requested position needs to be in the same sim.
|func_footnote=The requested position needs to be in the same sim.
|func_desc
|func_desc
|return_text=that is the ground slope below the object [[llGetPos|position]] + '''offset'''
|return_text=that is the ground slope below the object [[llGetPos|position]] + {{LSLP|offset}}
|spec
|spec
|caveats
|caveats

Revision as of 20:44, 16 June 2012

Summary

Function: vector llGroundSlope( vector offset );

Returns a vector that is the ground slope below the object position + offset

• vector offset offset relative to the noZ position and expressed in local coordinates

The requested position needs to be in the same sim.

Examples

See Also

Functions

•  llGround Gets the ground height
•  llGroundContour Gets the ground contour
•  llGroundNormal Gets the ground normal

Deep Notes

Search JIRA for related Issues

Signature

function vector llGroundSlope( vector offset );