Shape.setPhysicsMaterial

Sets the physics material of the shape.

Kind: Function

Environments: Game

Game

shape:setPhysicsMaterial( material )

Open the full Game reference

Parameters:

Name Type Description
shape Shape The shape.
material integer The new physics material for the shape.