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;

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
void Example() {
collider.bounciness = 1;
}
}

import UnityEngine
import System.Collections

class example(MonoBehaviour):

def Example():
collider.bounciness = 1