JointLimits.minBounce 最小反弹力

var minBounce : float

Description描述

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