Shape.setPhysicsMaterial
Sets the physics material of the shape.
Kind: Function
Environments: Game
Game
shape:setPhysicsMaterial( material )
Parameters:
| Name | Type | Description |
|---|---|---|
shape |
Shape | The shape. |
material |
integer | The new physics material for the shape. |