File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,38 @@ public UnityEngine.HingeJoint UnityHingeJoint {
3535 }
3636 }
3737
38+ /// <summary>
39+ /// The direction of axis in which the body is constrained.
40+ /// </summary>
41+ /// <value></value>
42+ public Vector3 Axis {
43+ get {
44+ return UnityHingeJoint . axis ;
45+ }
46+ set {
47+ UnityHingeJoint . axis = value ;
48+ }
49+ }
50+
51+ /// <summary>
52+ /// The position of the anchor in which the joint body is constrained
53+ /// </summary>
54+ /// <value></value>
55+ public Vector3 Anchor {
56+ get {
57+ return UnityHingeJoint . anchor ;
58+ }
59+ set {
60+ UnityHingeJoint . anchor = value ;
61+ }
62+ }
63+
64+ public Vector3 ConnectedAnchor {
65+ get {
66+ return UnityHingeJoint . connectedAnchor ;
67+ }
68+ }
69+
3870 public bool _debug = false ;
3971
4072
You can’t perform that action at this time.
0 commit comments