JointLimits.min 最小

var min : float


The lower limit of the joint. When the joint angle or position is below it,

the joint will excert forces to constrain it.


using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
	public void Awake() {
		hingeJoint.limits.min = 20;
// Set the minimum hinge angle to be 20 degrees

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