Friction for this material.
If non-negative, it will be used instead of the friction given by ContactMaterials. If there's no matching ContactMaterial, the value from defaultContactMaterial
in the World will be used.
Material id.
Material name. If options is a string, name will be set to that string.
Deprecate this
Restitution for this material.
If non-negative, it will be used instead of the restitution given by ContactMaterials. If there's no matching ContactMaterial, the value from defaultContactMaterial
in the World will be used.
Static
id
Defines a physics material.