Garry's Mod Wiki

PhysObj:SetBuoyancyRatio

void 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)

Page Links


Special Pages


Wikis

?

Render Time: 20ms

Session 0
DB GetPage 3
Generate Html 1
SaveChanges 9
Render Body 0
Render Sidebar 5