Skip to content
lsl.devlsl.devLSL Dev

llGroundSlope

function
Function syntax
vector llGroundSlope(
  1. vector offset// Offset relative to the prim's position, expressed in local coordinates.
);
Returns
vector
Energy
10

Returns a vector representing the ground slope directly below the prim's position offset by the vector offset.

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

How to use
vector result = llGroundSlope(ZERO_VECTOR);

Added in SL 0.9.0

Original wiki source

Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.