Don't click here unless you want to be banned.

LSL Wiki : llGround

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings :: You are
float llGround(vector offset)

Returns the ground height at the script's current position in the simulator + offset.

So to get the ground height at the scripted object's current location, use: llGround( <0.0, 0.0, 0.0> )

To actually change the ground height, use llModifyLand.

More details at land.

Also see llGroundContour, llGroundSlope, llGroundNormal, and llSetHoverHeight.

This article wasn't helpful for you? Maybe the related article at the LSL Portal is able to bring enlightenment.

Functions | Simulator | Land
There are 6 comments on this page. [Display comments/form]