PhysObj/SetBuoyancyRatio

From Garry's Mod
Jump to: navigation, search
 PhysObj:SetBuoyancyRatio( )

Description

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

Arguments

number buoyancy

Buoyancy ratio, where 0 is not buoyant at all (like a rock), and 1 is very buoyant (like wood)
Personal tools
Navigation