JointSpring.spring 弹簧

var spring : float

Description描述

The spring forces used to reach the target position

弹簧力用于达到目标位置。

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
	public void Awake() {
		hingeJoint.spring.spring = 10;
	}
}
hingeJoint.spring.spring = 10;
Page last updated: 2010-12-23