Shape.getBuoyancy
Returns the buoyancy multiplier of a shape.
Kind: Function
Environments: Game
Game
shape:getBuoyancy( )
Parameters:
| Name | Type | Description |
|---|---|---|
shape |
Shape | The shape. |
Returns:
| Type | Description |
|---|---|
| number | The buoyancy multiplier. |
Returns the buoyancy multiplier of a shape.
Kind: Function
Environments: Game
shape:getBuoyancy( )
Parameters:
| Name | Type | Description |
|---|---|---|
shape |
Shape | The shape. |
Returns:
| Type | Description |
|---|---|
| number | The buoyancy multiplier. |