public Vector3 GetJointPosition(int jointIndex) { return(ShipAllParts.Find("ShipBase/ManeuverJoints").Find("ManeuverJoint" + jointIndex).Find("Rotation").position); }
public override Transform GetModelTransform() { return(ShipAllParts.Find("ShipModels/DRK-1 Probe Droid/ModelCenter/Lights")); }
public Vector3 GetJointAngles(int jointIndex) { return(ShipAllParts.Find("ShipBase/ManeuverJoints").Find("ManeuverJoint" + jointIndex).Find("Rotation").eulerAngles); }
public void ToggleJointArrow(int jointIndex, bool isVisible) { ShipAllParts.Find("ShipBase/ManeuverJoints").Find("ManeuverJoint" + jointIndex).gameObject.SetActive(isVisible); }