Difference between revisions of "LlSetBuoyancy"
Jump to navigation
Jump to search
All Issues ~ Search JIRA for related Bugs
Line 9: | Line 9: | ||
|spec | |spec | ||
|caveats=*[[llWind|Wind]] can cause the prim to drift. | |caveats=*[[llWind|Wind]] can cause the prim to drift. | ||
*Unlike some other characteristics, this is cancelled if the script that set buoyancy is removed from the prim. | |||
|constants | |constants | ||
|examples | |examples |
Revision as of 18:48, 18 March 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
Caveats
- Wind can cause the prim to drift.
- Unlike some other characteristics, this is cancelled if the script that set buoyancy is removed from the prim.