The Position of the anchor around which the joints motion is constrained.
hingeJoint.anchor = Vector3 (2, 0, 0);
using UnityEngine; using System.Collections; public class Example : MonoBehaviour { void Example() { hingeJoint.anchor = new Vector3(2, 0, 0); } }
import UnityEngine import System.Collections public class Example(MonoBehaviour): def Example() as void: hingeJoint.anchor = Vector3(2, 0, 0)