Esempio n. 1
0
 /// <summary>
 /// The TrackedObjectOrigin method is used to find the tracked object's origin.
 /// </summary>
 /// <param name="obj">The GameObject to get the origin for.</param>
 /// <returns>The transform of the tracked object's origin or if an origin is not set then the transform parent.</returns>
 public static Transform TrackedObjectOrigin(GameObject obj)
 {
     return(VRTK_SDK_Bridge.GetTrackedObjectOrigin(obj));
 }