Difference between revisions of "LlGroundRepel"

From Second Life Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
{{LSL_Function/damping|tau}}{{LSL_Function
{{LSL_Function/physical}}{{LSL_Function/damping|tau}}{{LSL_Function
|func=llGroundRepel
|sort=GroundRepel
|func_id=230
|func_sleep=0.0
|func_energy=10.0
|func=llGroundRepel
|func=llGroundRepel
|func_id=230|func_sleep=0.0|func_energy=10.0
|p1_type=float|p1_name=height|p1_desc=Distance above the ground
|p1_type=float|p1_name=height|p1_desc=Distance above the ground
|p2_type=integer|p2_name=water|p2_desc=boolean, if [[TRUE]] then hover above water too.
|p2_type=integer|p2_name=water|p2_desc=boolean, if [[TRUE]] then hover above water too.
|p3_type=float|p3_name=tau
|p3_type=float|p3_name=tau
|func_footnote=Do not use with vehicles.
|func_footnote=Do not use with vehicles.
|func_desc=Critically damps to '''height''' if within '''height'''*0.5 of level
|func_desc=Critically damps to '''height''' if within '''height'''*0.5 of ground or water level (which ever is higher)
|return_text
|return_text
|spec
|spec
|caveats=
|caveats
*Only works on '''physical''' objects.
|constants
|constants
|examples
|examples

Revision as of 05:27, 16 April 2009

Summary

Function: llGroundRepel( float height, integer water, float tau );

Critically damps to height if within height*0.5 of ground or water level (which ever is higher)

• float height Distance above the ground
• integer water boolean, if TRUE then hover above water too.
• float tau seconds to critically damp in

Do not use with vehicles.

Caveats

Examples

See Also

Functions

•  llSetHoverHeight Same as llGroundRepel but without the height condition
•  llStopHover To stop hovering

Deep Notes

Search JIRA for related Issues

Signature

function void llGroundRepel( float height, integer water, float tau );