Revision Difference
PhysObj:GetBuoyancyRatio#567654
<function name="GetBuoyancyRatio" parent="PhysObj" type="classfunc">
<description>Returns the buoyancy ratio of the physics object. (How well it floats in water).
<warning>Currently only works on Windows</warning>⤶
</description>
<realm>Shared</realm>
<added>2025.08.08</added>
<rets>
<ret name="buoyancy" type="number">Buoyancy ratio, where 0 is not buoyant at all (like a rock), and 1 is very buoyant (like wood)</ret>
</rets>
</function>
Garry's Mod
Rust
Steamworks
Wiki Help