if (hitRigidbody != null && hitRigidbody.CompareTag("RagdollLimb"))

In a "Ragdoll Hit" game, you usually click to spawn a projectile or punch. The code typically looks like this:

void PropagateImpulse(int rootIndex, Vector3 impulse) foreach(var neighbor in GetNeighbors(rootIndex)) float scale = 0.6f; // and so on per distance boneRbs[neighbor].isKinematic = false; boneRbs[neighbor].AddForce(impulse * scale, ForceMode.Impulse);

These "better" versions often include: