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.

JavaScript
print(hingeJoint.velocity);

using UnityEngine;
using System.Collections;

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

import UnityEngine
import System.Collections

class example(MonoBehaviour):

def Example():
print(hingeJoint.velocity)