HingeJoint.useSpring 使用弹簧

var useSpring : bool

Description描述

Enables the joint's spring.

启用关节的弹簧。

using UnityEngine;
using System.Collections;

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