void Throw() { heldObject.rb.isKinematic = false; heldObject.rb.velocity = rb.velocity; heldObject.transform.parent = null; heldObject.GetComponent <Collider2D>().enabled = true; foreach (Collider2D c in heldObject.GetComponentsInChildren <Collider2D>()) { c.enabled = true; } heldObject.rb.AddForce(aimDir.normalized * maxForce * dragMult, ForceMode2D.Impulse); rb.AddForce(-1 * aimDir.normalized * maxForce * dragMult, ForceMode2D.Impulse); // holdPoint.rotation = Quaternion.identity; heldObject = null; }