HingeJoint.useLimits 使用限制

var useLimits : bool

Description描述

Enables the joint's limits.

启用关节的限制。

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
	public void Awake() {
		hingeJoint.useLimits = true;
	}
}
hingeJoint.useLimits = true;
Page last updated: 2011-1-28