Defines a physics material.
To be used with ContactMaterial.
// Create a wooden boxvar woodMaterial = new Material();var boxShape = new Box({ material: woodMaterial});body.addShape(boxShape);
The material identifier. Read only.
Id counter for materials
Defines a physics material.
To be used with ContactMaterial.