How can I add Ragdoll to 100 GameObjects at the same time?

OK, so I have a package of rigged models that do not have Ragdoll applied. I do not want to manually go through and select each one, and select each bone in the Ragdoll Wizard.

  1. Is there a way to do this already?
  2. If not, what all is in Ragdoll Wizard?

My first thought was I could write a script that adds capsule colliders and rigidbodies to each bone, but I don’t know if that would still work with all of the joints? If it does, then I can just make one Ragdoll, then use that as a template to copy over all of the settings to all of the GameObjects in a loop, saving each prefab afterward. I can also add the Ragdoll Controller script that will activate or deactivate them.

Does anyone have other suggestions, or code to do this already?

I think that doesn’t exist that tool, I’m not sure, maybe if you search in the Asset Store you can find a tool that do that.
You can try to make only one ragdoll, duplicate it 99 times, and change one by one the meshes and the materials of the models, it’s a faster way (it only works if the 100 models are very similar, if there are some exceptions you must create the ragdoll for them manually).
I hope this helps you!! :slight_smile: