1using System.Runtime.CompilerServices;
16 INTERNAL_get_anchor(out
Vector3 value);
21 INTERNAL_set_anchor(ref value);
32 INTERNAL_get_connectedAnchor(out
Vector3 value);
37 INTERNAL_set_connectedAnchor(ref value);
48 INTERNAL_get_axis(out
Vector3 value);
53 INTERNAL_set_axis(ref value);
60 public float limitMin { [MethodImpl(MethodImplOptions.InternalCall)]
get; [MethodImpl(MethodImplOptions.InternalCall)]
set; }
65 public float limitMax { [MethodImpl(MethodImplOptions.InternalCall)]
get; [MethodImpl(MethodImplOptions.InternalCall)]
set; }
70 public bool linkedBodiesCollision { [MethodImpl(MethodImplOptions.InternalCall)]
get; [MethodImpl(MethodImplOptions.InternalCall)]
set; }
75 public Rigidbody connectedObject { [MethodImpl(MethodImplOptions.InternalCall)]
get; [MethodImpl(MethodImplOptions.InternalCall)]
set; }
80 [MethodImpl(MethodImplOptions.InternalCall)]
86 [MethodImpl(MethodImplOptions.InternalCall)]
91 [MethodImpl(MethodImplOptions.InternalCall)]
92 private extern void INTERNAL_get_anchor(out
Vector3 value);
94 [MethodImpl(MethodImplOptions.InternalCall)]
95 private extern void INTERNAL_set_anchor(ref
Vector3 value);
97 [MethodImpl(MethodImplOptions.InternalCall)]
98 private extern void INTERNAL_get_connectedAnchor(out
Vector3 value);
100 [MethodImpl(MethodImplOptions.InternalCall)]
101 private extern void INTERNAL_set_connectedAnchor(ref
Vector3 value);
103 [MethodImpl(MethodImplOptions.InternalCall)]
104 private extern void INTERNAL_get_axis(out
Vector3 value);
106 [MethodImpl(MethodImplOptions.InternalCall)]
107 private extern void INTERNAL_set_axis(ref
Vector3 value);
float limitMin
Get or set the lower angle limits of this joint
Vector3 axis
Get or set an axis of what rotation will be applied to
void AutoConfigureAnchors()
Auto configure connected anchor point depending on an anchor of this object
float limitMax
Get or set the upper angle limits of this joint
void Rebuild()
Rebuild this joint
bool linkedBodiesCollision
Get or set the linked bodies collision flag
Vector3 connectedAnchor
Get or set an anchor point relative to connected object
Vector3 anchor
Get or set an anchor point relative to this object
Rigidbody connectedObject
Get or set the object to connect with