Function
Moderate
Bleeding edge only
Vehicle:SetBuoyancyPontoons
Sets the spherical Pontoons used to float this entity on Water, overriding the ones automatically calculated from the Mesh bounds and mass.<br/><br/>Pass no value (or an empty table) to go back to the automatically calculated ones.<br/><br/>Pontoons only have an effect on Maps with Water Buoyancy enabled
Syntax
my_vehicle:SetBuoyancyPontoons(pontoons = nil)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
pontoons
optional
|
table | nil |
Array with the Pontoons, or nil to restore the automatically calculated ones |