Physics Material
The properties of Physics Materials are shown below:
When in contact with other surfaces, these coefficients are used to calculate the corresponding friction and elastic forces.
- Code instantiation
The way to create with the editor is shown below:
Instantiated in the code:
To operate in the editor, just drag the asset into the property box, as shown in the following figure:
Operation in the code: