This version of Unity is unsupported.
Removed in version 2019.2.22

Component.hingeJoint

Obsolete public Component hingeJoint;

Description

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

using UnityEngine;

public class Example : MonoBehaviour { void Start() { print(GetComponent<HingeJoint>().motor.targetVelocity); } }