JointLimits.maxBounce

var maxBounce : float

Description

The bounciness of the joint when hitting the upper limit of the joint.

JavaScript
// Set the joint to bounce off when hitting the upper limit
var limits = hingeJoint.limits;
limits.maxBounce = 1;
hingeJoint.limits = limits;