Component.hingeJoint
var hingeJoint: HingeJoint;
Description

The HingeJoint attached to this GameObject (null if there is none attached).

	hingeJoint.motor.targetVelocity = 5;