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

LSL Wiki : llGroundRepel

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings :: You are crawl836.us.archive.org
llGroundRepel(float height, integer water, float tau);

Critically damps the object to height (if the object is within height * 0.5 of ground level) over damp tau seconds. The height is above ground level if water is FALSE or above the height of land and water if water is TRUE.

Compare with llSetHoverHeight.

To undo the llGroundRepel() effect, feed the command all 0s to undo it. I had to do this for someone that was using llStopHover() to make it stop ground repelling and then complaining that it wasn't working -- LuccaKitty


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

Functions | Land
Comments [Hide comments/form]
This seems to REPEL it from getting too close to the ground at a certain distance specified by HEIGHT.
But doesn't critically damp object when its above the height.

It says what it does.

GroundRepel. Repels it from the ground.

But llSetHoverHeight tries to clamp the object to specified height no matter what height it currently is.


Therefore llGroundRepel Creates a more realistic hover than setting hoverheight.
-- KairaOverdrive (2006-01-31 23:37:39)
Attach a comment to this page: