llGroundRepel
function ll.GroundRepel(Height: number, Water: number, Tau: number)Critically damps to height if within height * 0.5 of level (either above ground level or above the higher of land and water if water == TRUE).
Critically damps to fHeight if within fHeight * 0.5 of ground or water level.
The height is above ground level if iWater is FALSE or above the higher of land and water if iWater is TRUE.
Do not use with vehicles. Only works in physics-enabled objects.
Parameters
-
Height(number) - Distance above the ground.
-
Water(number) - Boolean, if TRUE then hover above water too.
-
Tau(number) - Seconds to critically damp in.
Examples
Section titled “Examples”Add example usage here showing SLua/Luau syntax with ll.GroundRepel().
Add additional notes, caveats, or tips specific to using this function in SLua/Luau.
See Also
Section titled “See Also”- Related functions can be linked here
- LSL equivalent: llGroundRepel