using System; using UnityEngine; // Token: 0x020000B8 RID: 184 [RequireComponent(typeof(Joint))] [RequireComponent(typeof(Rigidbody))] public class JointMaxStretch : MonoBehaviour { // Token: 0x060025BD RID: 9661 RVA: 0x000B33FC File Offset: 0x000B15FC private void Update() { if (Vector3.Distance(base.transform.position, this.GEBGAKFMAOJ.connectedBody.transform.position) > this.JLGEEILJDPH.magnitude + this.maxStretch) { base.transform.position = this.GEBGAKFMAOJ.connectedBody.transform.TransformPoint(this.JLGEEILJDPH); base.transform.rotation = this.GEBGAKFMAOJ.connectedBody.transform.PAFJLHMDIMO(this.EACFCEGBJCP); this.IJFBNEGJIEI.velocity = Vector3.zero; this.IJFBNEGJIEI.angularVelocity = Vector3.zero; } } // Token: 0x060025BE RID: 9662 RVA: 0x000B34B4 File Offset: 0x000B16B4 private void EEPEOCMOGIL() { if (Vector3.Distance(base.transform.position, this.GEBGAKFMAOJ.connectedBody.transform.position) > this.JLGEEILJDPH.magnitude + this.maxStretch) { base.transform.position = this.GEBGAKFMAOJ.connectedBody.transform.TransformPoint(this.JLGEEILJDPH); base.transform.rotation = this.GEBGAKFMAOJ.connectedBody.transform.PAFJLHMDIMO(this.EACFCEGBJCP); this.IJFBNEGJIEI.velocity = Vector3.zero; this.IJFBNEGJIEI.angularVelocity = Vector3.zero; } } // Token: 0x060025BF RID: 9663 RVA: 0x000B356C File Offset: 0x000B176C private void MJANJBNFEGG() { if (Vector3.Distance(base.transform.position, this.GEBGAKFMAOJ.connectedBody.transform.position) > this.JLGEEILJDPH.magnitude + this.maxStretch) { base.transform.position = this.GEBGAKFMAOJ.connectedBody.transform.TransformPoint(this.JLGEEILJDPH); base.transform.rotation = this.GEBGAKFMAOJ.connectedBody.transform.PAFJLHMDIMO(this.EACFCEGBJCP); this.IJFBNEGJIEI.velocity = Vector3.zero; this.IJFBNEGJIEI.angularVelocity = Vector3.zero; } } // Token: 0x060025C0 RID: 9664 RVA: 0x000B3624 File Offset: 0x000B1824 private void MDCNOIALLAF() { if (Vector3.Distance(base.transform.position, this.GEBGAKFMAOJ.connectedBody.transform.position) > this.JLGEEILJDPH.magnitude + this.maxStretch) { base.transform.position = this.GEBGAKFMAOJ.connectedBody.transform.TransformPoint(this.JLGEEILJDPH); base.transform.rotation = this.GEBGAKFMAOJ.connectedBody.transform.PAFJLHMDIMO(this.EACFCEGBJCP); this.IJFBNEGJIEI.velocity = Vector3.zero; this.IJFBNEGJIEI.angularVelocity = Vector3.zero; } } // Token: 0x060025C1 RID: 9665 RVA: 0x000B36DC File Offset: 0x000B18DC private void IPAPMGBLCNF() { this.IJFBNEGJIEI = base.GetComponent(); this.GEBGAKFMAOJ = base.GetComponent(); this.JLGEEILJDPH = this.GEBGAKFMAOJ.connectedBody.transform.InverseTransformPoint(base.transform.position); this.EACFCEGBJCP = this.GEBGAKFMAOJ.connectedBody.transform.MCKNNGGGBDG(base.transform.rotation); } // Token: 0x060025C2 RID: 9666 RVA: 0x000B3750 File Offset: 0x000B1950 private void NGHJFABFAOA() { this.IJFBNEGJIEI = base.GetComponent(); this.GEBGAKFMAOJ = base.GetComponent(); this.JLGEEILJDPH = this.GEBGAKFMAOJ.connectedBody.transform.InverseTransformPoint(base.transform.position); this.EACFCEGBJCP = this.GEBGAKFMAOJ.connectedBody.transform.MCKNNGGGBDG(base.transform.rotation); } // Token: 0x060025C3 RID: 9667 RVA: 0x000B37C4 File Offset: 0x000B19C4 private void IJPDEJFNCNH() { if (Vector3.Distance(base.transform.position, this.GEBGAKFMAOJ.connectedBody.transform.position) > this.JLGEEILJDPH.magnitude + this.maxStretch) { base.transform.position = this.GEBGAKFMAOJ.connectedBody.transform.TransformPoint(this.JLGEEILJDPH); base.transform.rotation = this.GEBGAKFMAOJ.connectedBody.transform.PAFJLHMDIMO(this.EACFCEGBJCP); this.IJFBNEGJIEI.velocity = Vector3.zero; this.IJFBNEGJIEI.angularVelocity = Vector3.zero; } } // Token: 0x060025C4 RID: 9668 RVA: 0x000B387C File Offset: 0x000B1A7C private void JLOMELEDCLK() { this.IJFBNEGJIEI = base.GetComponent(); this.GEBGAKFMAOJ = base.GetComponent(); this.JLGEEILJDPH = this.GEBGAKFMAOJ.connectedBody.transform.InverseTransformPoint(base.transform.position); this.EACFCEGBJCP = this.GEBGAKFMAOJ.connectedBody.transform.MCKNNGGGBDG(base.transform.rotation); } // Token: 0x060025C5 RID: 9669 RVA: 0x000B38F0 File Offset: 0x000B1AF0 private void MJGFPAHIHGG() { if (Vector3.Distance(base.transform.position, this.GEBGAKFMAOJ.connectedBody.transform.position) > this.JLGEEILJDPH.magnitude + this.maxStretch) { base.transform.position = this.GEBGAKFMAOJ.connectedBody.transform.TransformPoint(this.JLGEEILJDPH); base.transform.rotation = this.GEBGAKFMAOJ.connectedBody.transform.PAFJLHMDIMO(this.EACFCEGBJCP); this.IJFBNEGJIEI.velocity = Vector3.zero; this.IJFBNEGJIEI.angularVelocity = Vector3.zero; } } // Token: 0x060025C6 RID: 9670 RVA: 0x000B39A8 File Offset: 0x000B1BA8 private void CJDFMFPIFDB() { if (Vector3.Distance(base.transform.position, this.GEBGAKFMAOJ.connectedBody.transform.position) > this.JLGEEILJDPH.magnitude + this.maxStretch) { base.transform.position = this.GEBGAKFMAOJ.connectedBody.transform.TransformPoint(this.JLGEEILJDPH); base.transform.rotation = this.GEBGAKFMAOJ.connectedBody.transform.PAFJLHMDIMO(this.EACFCEGBJCP); this.IJFBNEGJIEI.velocity = Vector3.zero; this.IJFBNEGJIEI.angularVelocity = Vector3.zero; } } // Token: 0x060025C8 RID: 9672 RVA: 0x000B3A74 File Offset: 0x000B1C74 private void OFOPHGFIAJM() { this.IJFBNEGJIEI = base.GetComponent(); this.GEBGAKFMAOJ = base.GetComponent(); this.JLGEEILJDPH = this.GEBGAKFMAOJ.connectedBody.transform.InverseTransformPoint(base.transform.position); this.EACFCEGBJCP = this.GEBGAKFMAOJ.connectedBody.transform.MCKNNGGGBDG(base.transform.rotation); } // Token: 0x060025C9 RID: 9673 RVA: 0x000B3AE8 File Offset: 0x000B1CE8 private void PEMILJJNOEP() { this.IJFBNEGJIEI = base.GetComponent(); this.GEBGAKFMAOJ = base.GetComponent(); this.JLGEEILJDPH = this.GEBGAKFMAOJ.connectedBody.transform.InverseTransformPoint(base.transform.position); this.EACFCEGBJCP = this.GEBGAKFMAOJ.connectedBody.transform.MCKNNGGGBDG(base.transform.rotation); } // Token: 0x060025CA RID: 9674 RVA: 0x000B3B5C File Offset: 0x000B1D5C private void Awake() { this.IJFBNEGJIEI = base.GetComponent(); this.GEBGAKFMAOJ = base.GetComponent(); this.JLGEEILJDPH = this.GEBGAKFMAOJ.connectedBody.transform.InverseTransformPoint(base.transform.position); this.EACFCEGBJCP = this.GEBGAKFMAOJ.connectedBody.transform.MCKNNGGGBDG(base.transform.rotation); } // Token: 0x060025CB RID: 9675 RVA: 0x000B3BD0 File Offset: 0x000B1DD0 private void JJEKHMENJFE() { this.IJFBNEGJIEI = base.GetComponent(); this.GEBGAKFMAOJ = base.GetComponent(); this.JLGEEILJDPH = this.GEBGAKFMAOJ.connectedBody.transform.InverseTransformPoint(base.transform.position); this.EACFCEGBJCP = this.GEBGAKFMAOJ.connectedBody.transform.MCKNNGGGBDG(base.transform.rotation); } // Token: 0x060025CC RID: 9676 RVA: 0x000B3C44 File Offset: 0x000B1E44 private void IICDIBPOINA() { if (Vector3.Distance(base.transform.position, this.GEBGAKFMAOJ.connectedBody.transform.position) > this.JLGEEILJDPH.magnitude + this.maxStretch) { base.transform.position = this.GEBGAKFMAOJ.connectedBody.transform.TransformPoint(this.JLGEEILJDPH); base.transform.rotation = this.GEBGAKFMAOJ.connectedBody.transform.PAFJLHMDIMO(this.EACFCEGBJCP); this.IJFBNEGJIEI.velocity = Vector3.zero; this.IJFBNEGJIEI.angularVelocity = Vector3.zero; } } // Token: 0x060025CD RID: 9677 RVA: 0x000B3CFC File Offset: 0x000B1EFC private void JINABDGLFOB() { if (Vector3.Distance(base.transform.position, this.GEBGAKFMAOJ.connectedBody.transform.position) > this.JLGEEILJDPH.magnitude + this.maxStretch) { base.transform.position = this.GEBGAKFMAOJ.connectedBody.transform.TransformPoint(this.JLGEEILJDPH); base.transform.rotation = this.GEBGAKFMAOJ.connectedBody.transform.PAFJLHMDIMO(this.EACFCEGBJCP); this.IJFBNEGJIEI.velocity = Vector3.zero; this.IJFBNEGJIEI.angularVelocity = Vector3.zero; } } // Token: 0x060025CE RID: 9678 RVA: 0x000B3DB4 File Offset: 0x000B1FB4 private void AANDHGOIAIC() { this.IJFBNEGJIEI = base.GetComponent(); this.GEBGAKFMAOJ = base.GetComponent(); this.JLGEEILJDPH = this.GEBGAKFMAOJ.connectedBody.transform.InverseTransformPoint(base.transform.position); this.EACFCEGBJCP = this.GEBGAKFMAOJ.connectedBody.transform.MCKNNGGGBDG(base.transform.rotation); } // Token: 0x060025CF RID: 9679 RVA: 0x000B3E28 File Offset: 0x000B2028 private void INGMCGGJGMA() { this.IJFBNEGJIEI = base.GetComponent(); this.GEBGAKFMAOJ = base.GetComponent(); this.JLGEEILJDPH = this.GEBGAKFMAOJ.connectedBody.transform.InverseTransformPoint(base.transform.position); this.EACFCEGBJCP = this.GEBGAKFMAOJ.connectedBody.transform.MCKNNGGGBDG(base.transform.rotation); } // Token: 0x060025D0 RID: 9680 RVA: 0x000B3E9C File Offset: 0x000B209C private void DKDGOJGKHDM() { if (Vector3.Distance(base.transform.position, this.GEBGAKFMAOJ.connectedBody.transform.position) > this.JLGEEILJDPH.magnitude + this.maxStretch) { base.transform.position = this.GEBGAKFMAOJ.connectedBody.transform.TransformPoint(this.JLGEEILJDPH); base.transform.rotation = this.GEBGAKFMAOJ.connectedBody.transform.PAFJLHMDIMO(this.EACFCEGBJCP); this.IJFBNEGJIEI.velocity = Vector3.zero; this.IJFBNEGJIEI.angularVelocity = Vector3.zero; } } // Token: 0x060025D1 RID: 9681 RVA: 0x000B3F54 File Offset: 0x000B2154 private void FDBHMLOEHCE() { this.IJFBNEGJIEI = base.GetComponent(); this.GEBGAKFMAOJ = base.GetComponent(); this.JLGEEILJDPH = this.GEBGAKFMAOJ.connectedBody.transform.InverseTransformPoint(base.transform.position); this.EACFCEGBJCP = this.GEBGAKFMAOJ.connectedBody.transform.MCKNNGGGBDG(base.transform.rotation); } // Token: 0x060025D2 RID: 9682 RVA: 0x000B3FC8 File Offset: 0x000B21C8 private void LOGFBGOPLLO() { if (Vector3.Distance(base.transform.position, this.GEBGAKFMAOJ.connectedBody.transform.position) > this.JLGEEILJDPH.magnitude + this.maxStretch) { base.transform.position = this.GEBGAKFMAOJ.connectedBody.transform.TransformPoint(this.JLGEEILJDPH); base.transform.rotation = this.GEBGAKFMAOJ.connectedBody.transform.PAFJLHMDIMO(this.EACFCEGBJCP); this.IJFBNEGJIEI.velocity = Vector3.zero; this.IJFBNEGJIEI.angularVelocity = Vector3.zero; } } // Token: 0x060025D3 RID: 9683 RVA: 0x000B4080 File Offset: 0x000B2280 private void BBKPAKKLOGB() { this.IJFBNEGJIEI = base.GetComponent(); this.GEBGAKFMAOJ = base.GetComponent(); this.JLGEEILJDPH = this.GEBGAKFMAOJ.connectedBody.transform.InverseTransformPoint(base.transform.position); this.EACFCEGBJCP = this.GEBGAKFMAOJ.connectedBody.transform.MCKNNGGGBDG(base.transform.rotation); } // Token: 0x060025D4 RID: 9684 RVA: 0x000B40F4 File Offset: 0x000B22F4 private void BJJKGIOCAIL() { if (Vector3.Distance(base.transform.position, this.GEBGAKFMAOJ.connectedBody.transform.position) > this.JLGEEILJDPH.magnitude + this.maxStretch) { base.transform.position = this.GEBGAKFMAOJ.connectedBody.transform.TransformPoint(this.JLGEEILJDPH); base.transform.rotation = this.GEBGAKFMAOJ.connectedBody.transform.PAFJLHMDIMO(this.EACFCEGBJCP); this.IJFBNEGJIEI.velocity = Vector3.zero; this.IJFBNEGJIEI.angularVelocity = Vector3.zero; } } // Token: 0x060025D5 RID: 9685 RVA: 0x000B41AC File Offset: 0x000B23AC private void IDFGKJHJBLA() { this.IJFBNEGJIEI = base.GetComponent(); this.GEBGAKFMAOJ = base.GetComponent(); this.JLGEEILJDPH = this.GEBGAKFMAOJ.connectedBody.transform.InverseTransformPoint(base.transform.position); this.EACFCEGBJCP = this.GEBGAKFMAOJ.connectedBody.transform.MCKNNGGGBDG(base.transform.rotation); } // Token: 0x060025D6 RID: 9686 RVA: 0x000B4220 File Offset: 0x000B2420 private void MICFHMAIGIB() { this.IJFBNEGJIEI = base.GetComponent(); this.GEBGAKFMAOJ = base.GetComponent(); this.JLGEEILJDPH = this.GEBGAKFMAOJ.connectedBody.transform.InverseTransformPoint(base.transform.position); this.EACFCEGBJCP = this.GEBGAKFMAOJ.connectedBody.transform.MCKNNGGGBDG(base.transform.rotation); } // Token: 0x060025D7 RID: 9687 RVA: 0x000B4294 File Offset: 0x000B2494 private void BBOIJKLPABP() { this.IJFBNEGJIEI = base.GetComponent(); this.GEBGAKFMAOJ = base.GetComponent(); this.JLGEEILJDPH = this.GEBGAKFMAOJ.connectedBody.transform.InverseTransformPoint(base.transform.position); this.EACFCEGBJCP = this.GEBGAKFMAOJ.connectedBody.transform.MCKNNGGGBDG(base.transform.rotation); } // Token: 0x060025D8 RID: 9688 RVA: 0x000B4308 File Offset: 0x000B2508 private void GOKDBMNMJFM() { if (Vector3.Distance(base.transform.position, this.GEBGAKFMAOJ.connectedBody.transform.position) > this.JLGEEILJDPH.magnitude + this.maxStretch) { base.transform.position = this.GEBGAKFMAOJ.connectedBody.transform.TransformPoint(this.JLGEEILJDPH); base.transform.rotation = this.GEBGAKFMAOJ.connectedBody.transform.PAFJLHMDIMO(this.EACFCEGBJCP); this.IJFBNEGJIEI.velocity = Vector3.zero; this.IJFBNEGJIEI.angularVelocity = Vector3.zero; } } // Token: 0x060025D9 RID: 9689 RVA: 0x000B43C0 File Offset: 0x000B25C0 private void POMCHIPOPEA() { this.IJFBNEGJIEI = base.GetComponent(); this.GEBGAKFMAOJ = base.GetComponent(); this.JLGEEILJDPH = this.GEBGAKFMAOJ.connectedBody.transform.InverseTransformPoint(base.transform.position); this.EACFCEGBJCP = this.GEBGAKFMAOJ.connectedBody.transform.MCKNNGGGBDG(base.transform.rotation); } // Token: 0x060025DA RID: 9690 RVA: 0x000B4434 File Offset: 0x000B2634 private void PBCGMHKELND() { this.IJFBNEGJIEI = base.GetComponent(); this.GEBGAKFMAOJ = base.GetComponent(); this.JLGEEILJDPH = this.GEBGAKFMAOJ.connectedBody.transform.InverseTransformPoint(base.transform.position); this.EACFCEGBJCP = this.GEBGAKFMAOJ.connectedBody.transform.MCKNNGGGBDG(base.transform.rotation); } // Token: 0x060025DB RID: 9691 RVA: 0x000B44A8 File Offset: 0x000B26A8 private void EIMPMCFDMIA() { this.IJFBNEGJIEI = base.GetComponent(); this.GEBGAKFMAOJ = base.GetComponent(); this.JLGEEILJDPH = this.GEBGAKFMAOJ.connectedBody.transform.InverseTransformPoint(base.transform.position); this.EACFCEGBJCP = this.GEBGAKFMAOJ.connectedBody.transform.MCKNNGGGBDG(base.transform.rotation); } // Token: 0x060025DC RID: 9692 RVA: 0x000B451C File Offset: 0x000B271C private void KJBPHNKFCAM() { this.IJFBNEGJIEI = base.GetComponent(); this.GEBGAKFMAOJ = base.GetComponent(); this.JLGEEILJDPH = this.GEBGAKFMAOJ.connectedBody.transform.InverseTransformPoint(base.transform.position); this.EACFCEGBJCP = this.GEBGAKFMAOJ.connectedBody.transform.MCKNNGGGBDG(base.transform.rotation); } // Token: 0x060025DD RID: 9693 RVA: 0x000B4590 File Offset: 0x000B2790 private void LPBGGKDFLLN() { this.IJFBNEGJIEI = base.GetComponent(); this.GEBGAKFMAOJ = base.GetComponent(); this.JLGEEILJDPH = this.GEBGAKFMAOJ.connectedBody.transform.InverseTransformPoint(base.transform.position); this.EACFCEGBJCP = this.GEBGAKFMAOJ.connectedBody.transform.MCKNNGGGBDG(base.transform.rotation); } // Token: 0x04000501 RID: 1281 [Tooltip("Max distance this bone can stretch from it's parent before resetting to it's original offset")] [SerializeField] private float maxStretch = 0.2f; // Token: 0x04000502 RID: 1282 private Rigidbody IJFBNEGJIEI; // Token: 0x04000503 RID: 1283 private Joint GEBGAKFMAOJ; // Token: 0x04000504 RID: 1284 private Vector3 JLGEEILJDPH; // Token: 0x04000505 RID: 1285 private Quaternion EACFCEGBJCP; // Token: 0x04000506 RID: 1286 private float JFILMIHDFPG; }