Body.setDestructable
Controls whether a body is destructable
Kind: Function
Environments: Game
Game
body:setDestructable( value )
Availability: Server only
Parameters:
| Name | Type | Description |
|---|---|---|
body |
Body | The body. |
value |
boolean | Whether the body is destructable. |