JointSpring.damper 阻尼器

var damper : float

Description描述

The damper force uses to dampen the spring

阻尼力用于弹簧缓冲。

using UnityEngine;
using System.Collections;

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