PhysicMaterial.bounciness Manual     Reference     Scripting  
Scripting > Runtime Classes > PhysicMaterial
PhysicMaterial.bounciness

var bounciness : float

Description

How bouncy is the surface? A value of 0 will not bounce. A value of 1 will bounce without any loss of energy.

JavaScript
collider.bounciness = 1;