Garry's Mod Wiki

Garry's Mod Wiki

  PhysObj:SetBuoyancyRatio( number buoyancy )

Description

Sets the buoyancy ratio of the physics object. (How well it floats in water)

Arguments

1 number buoyancy
Buoyancy ratio, where 0 is not buoyant at all (like a rock), and 1 is very buoyant (like wood). You can set values larger than 1 for greater effect.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...