JointLimits.minBounce 最小反弹力

var minBounce : float


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


using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
	public void Awake() {
		hingeJoint.limits.minBounce = 1;
// Set the joint to bounce off when hitting the lower limit

hingeJoint.limits.minBounce = 1;
Page last updated: 2011-1-27