public void CollidedWithSticky(StickyRigidbody collidedWith)
    {
        if (collided == false)
        {
            // Remove everything
            Destroy(GetComponent <Animator>());

            // Make all the scripts floppy
            foreach (StickyRigidbody script in allStickies)
            {
                script.Connect();
            }

            // Remove this ragdoll from the list
            OnDestroy();

            connectedBody = collidedWith;
            collided      = true;
        }
    }
    public void SetupRagdoll()
    {
        Rigidbody[] allBodies = GetComponentsInChildren <Rigidbody>();
        allStickies.Clear();

        foreach (Rigidbody body in allBodies)
        {
            if (body.gameObject != gameObject)
            {
                body.isKinematic = false;
                body.drag        = drag;

                StickyRigidbody script = body.GetComponent <StickyRigidbody>();
                if (script == null)
                {
                    script = body.gameObject.AddComponent <StickyRigidbody>();
                }
                script.Parent = this;

                allStickies.Add(script);
            }
        }
    }