PhysObj.SetBuoyancyRatio
From GMod Wiki
Function | |
Syntax | PhysObj.SetBuoyancyRatio( Number buoyancy ) |
Description: | |
Sets the buoyancy of an object. | |
Returns: | nil |
In Object: | Physobj |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=PhysObj.SetBuoyancyRatio]PhysObj.SetBuoyancyRatio [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Example
Additional Notes
- It will take inputs larger than 1.0, but as the input increases, so does the chance of the object "jiggling".
- If calling both PhysObj.SetMass and PhysObj.SetBuoyancyRatio in the same block, SetMass must be called first.