Rigidbody.angularDrag 角阻力

var angularDrag : float

Description描述

The angular drag of the object.

物体的角阻力。

Angular drag can be used to slow down the rotation of an object. The higher the drag the more the rotation slows down

角阻力可用来减缓物体的旋转。阻力越高旋转越慢。

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
	public void Awake() {
		rigidbody.angularDrag = 10;
	}
}
rigidbody.angularDrag = 10;
Page last updated: 2011-1-29