Quantcast
Channel: Questions in topic: "ragdoll"
Viewing all articles
Browse latest Browse all 565

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

$
0
0
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?

Viewing all articles
Browse latest Browse all 565

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>