HingeJoint.velocity Manual     Reference     Scripting  
Scripting > Runtime Classes > HingeJoint
HingeJoint.velocity

var velocity : float

Description

The angular velocity of the joint in degrees per second.

JavaScripts
print(hingeJoint.velocity);

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
void Awake() {
print(hingeJoint.velocity);
}
}

import UnityEngine
import System.Collections

class example(MonoBehaviour):

def Awake():
print(hingeJoint.velocity)