llSetBuoyancy
function ll.SetBuoyancy(Buoyancy: number)Set the tasks buoyancy (0 is none, < 1.0 sinks, 1.0 floats, > 1.0 rises).
Set the object buoyancy. A value of 0 is none, less than 1.0 sinks, 1.0 floats, and greater than 1.0 rises.
Parameters
-
Buoyancy(number)
Examples
Section titled “Examples”Add example usage here showing SLua/Luau syntax with ll.SetBuoyancy().
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: llSetBuoyancy