HingeJoint.velocity 速度

var velocity : float

Description描述

The angular velocity of the joint in degrees per second.

关节的角速度,单位 度/秒。

using UnityEngine;
using System.Collections;

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