PhysObj:GetBuoyancyRatio
Description
Returns the buoyancy ratio of the physics object. (How well it floats in water).
Currently only works on Windows
Returns
1 number buoyancy
Buoyancy ratio, where 0 is not buoyant at all (like a rock), and 1 is very buoyant (like wood)
Garry's Mod
Rust
Steamworks
Wiki Help