PhysicMaterial.bouncinessvar bounciness : floatDescriptionHow 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; using UnityEngine; import UnityEngine |
