The bounciness of the joint when hitting the upper limit of the joint.
// Set the joint to bounce off when hitting the upper limit var limits = hingeJoint.limits; limits.maxBounce = 1; hingeJoint.limits = limits;
using UnityEngine; using System.Collections; public class ExampleClass : MonoBehaviour { public JointLimits limits = hingeJoint.limits; void Example() { limits.maxBounce = 1; hingeJoint.limits = limits; } }
import UnityEngine import System.Collections public class ExampleClass(MonoBehaviour): public limits as JointLimits = hingeJoint.limits def Example() as void: limits.maxBounce = 1 hingeJoint.limits = limits