Skip to content

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)

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.