Enables the joint's spring.
hingeJoint.useSpring = true;
using UnityEngine; using System.Collections; public class Example : MonoBehaviour { void Example() { hingeJoint.useSpring = true; } }
import UnityEngine import System.Collections public class Example(MonoBehaviour): def Example() as void: hingeJoint.useSpring = true