Component.hingeJointvar hingeJoint : HingeJointDescriptionThe HingeJoint attached to this GameObject (null if there is none attached).
JavaScript
hingeJoint.motor.targetVelocity = 5; using UnityEngine; import UnityEngine |
