Difference between revisions of "LlSetBuoyancy"
Jump to navigation
Jump to search
m (LSL llSetBuoyancy moved to LlSetBuoyancy) |
|||
Line 4: | Line 4: | ||
|func_energy=10.0 | |func_energy=10.0 | ||
|func=llSetBuoyancy | |func=llSetBuoyancy | ||
|p1_type=float | |p1_type=float|p1_name=buoyancy|p1_desc | ||
|p1_name=buoyancy | |func_desc=Set the tasks buoyancy | ||
|func_desc=Set the tasks buoyancy (0 | |func_footnote=if ('''buoyancy''' == 0.0) disables<br/>if ('''buoyancy''' < 1.0) sinks <br/>if ('''buoyancy''' == 1.0) floats <br/>If ('''buoyancy''' > 1.0) rises | ||
| | |spec | ||
[[ | |caveats=*[[llWind|Wind]] can cause the prim to drift. | ||
|constants | |||
|examples | |||
|helpers | |||
|also_functions | |||
|also_tests | |||
|also_events | |||
|also_articles | |||
|notes | |||
|cat1=Dataserver | |||
|cat2 | |||
|cat3 | |||
|cat4 | |||
}} |
Revision as of 19:20, 21 February 2007
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: llSetBuoyancy( float buoyancy );122 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
Set the tasks buoyancy
• float | buoyancy |
if (buoyancy == 0.0) disables
if (buoyancy < 1.0) sinks
if (buoyancy == 1.0) floats
If (buoyancy > 1.0) rises