setRestitution
Sets the restitution of the physics material.
Parameters
restitution
The restitution for the physics material, clamped to the range 0, 1. The default value is 0f.
Throws
IllegalStateException
If this resource is closed or invalid.