Difference between revisions of "LlGroundSlope"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
{{LSL_Function
{{LSL_Function
|inject-2={{LSL Function/position|offset|local=noZ}}
|inject-2={{LSL Function/offset|offset|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

Revision as of 10:37, 18 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 prim's position and expressed in local coordinates

Only the x and y coordinates in offset are important, the z component is ignored. 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 );