Automate Ragdoll Setup in 2 Clicks

Normally, I have to rig the character, paint the skin weights, add the Ragdoll markers, cut the character into pieces, and then replace the cylinders with parts of my character’s mesh.

For these last two steps, I think a button that automatically replaces the markers with the corresponding parts of the character’s skinned mesh would be great.

This way, I wouldn’t have to waste time manually dividing the character into multiple pieces. The tool could use the skin weights to determine which vertices belong to each joint, generate the corresponding mesh, and skip several minutes of manual work.

Also, couldn’t there be a button that creates the markers based on the joint hierarchy when I select a joint in the skeleton? Then I could use the other button to replace the markers with the corresponding parts of the character’s mesh.

That’s the whole basic setup in just three clicks:

  1. Select any joint in the skeleton.
  2. Click the “Create Markers from Joint Hierarchy” button.
  3. Click the “Replace Markers with Skinned Mesh” button.

You know what? could be 2 clicks!!

  1. Select any joint in the skeleton.
  2. Click the “Create Ragdoll from Joint Hierarchy” button.

This would eliminate most of the repetitive setup work and make the entire process much faster. @marcus

One last thing: I’d like a slider that allows me to control how much of the original character’s detail is preserved in the marker. As you can see, the face is barely recognizable. There are ways to force Ragdoll to follow the original shape more closely, but having a slider would be a much cleaner solution.

Thanks for the feature suggestion @Yuki, it definitely sounds ideal. And believe it or not, this was the first thing I tried with Ragdoll back in 2020. (Before that even, in 2016 with WeightShift). You can even spot the “Assign to Hierarchy” in the Ragdoll menu to this day, greyed out, and there since the beginning. Because I expected at one point to have cracked this case. We have not.

The two problems are:

  1. Very few hierarchies are as clean as in your example
  2. The “Lazy mindset”

Clean Hierarchy

Most skeletal hierarchies serve their deformers, not just their controllers. To an animator, the hierarchy is hip, chest, clavicle, upper arm, lower arm, and so on. In such a hierarchy, assignments are obvious and unambiguous.

But a joint hierarchy is more than that. It can have 0-length joints that deal with additional pivots or space transforms, empty groups that manage offsets or compensate for some orientation, offshoots like muscle or prop joints or plain old joints that does not line up with the pivot you’d expect when rotating a limb.

So then the next obvious choice then would be to assign to the control hierarchy instead? No, can’t. Those hierarchies are typically even more ambiguous than the joint hierarchy. At least joint hierarchies typically (but not always) relate to some part of the skinned geometry, so is the most likely to benefit from simulation. But controls and their hierarchies come in all shapes and flavours, with many branches being inactive alongside some attribute change, like FK versus IK, space and orientation switches.

So, yes. For an indivudual or studio to develop a script that auto-assigns Markers based on some convention? Definitely, many do. Every action you perform via that Ragdoll menu can be performed via Python. Nowadays you can ask Codex or Claude to generate a script for you, given some character or auto-rigger.

For the product itself to provide this as a general solution? Unfortunately no, at least not what I can see.

Lazy Mindset

This one is about two sets of audiences and how we provide tools and support. At the end of the day, we want to empower the user, to give them the tools they need to make cool things. Once there is an auto-rig-this feature, there will be issues with the feature, automation that automated the wrong thing or in the wrong way. And if this becomes the first thing you learn and use with Ragdoll, you will have a hard time debugging the result, of extrapolating that knowledge into doing things the “manual” way and become a better artist.

That’s why we favour making the manual way as easy as possible and provide the tools for users and studios to automate their way using these manual tools. Such that skill and output remain closely associated.

1 Like

Multiple feature requests in one thread, almost missed this one. :slight_smile:

Yes, this is doable. The trouble here is that it is not always clear which Marker relates to which joint - not even if you assigned directly to it. A single joint is not always responsible for the skinning on the skinning of an entire limb, so you would end up with geometry for part of the limb you expect.

Best we could do is a tool to pick a mesh and split it according to its skin weights. From there, you can pick and choose which split meshes you’d use for your Markers. This is doable.

1 Like

Dang, too bad. Indeed, even some of my characters would break with a feature like that since I don’t put markers on EVERY control…

Yeah! this sounds great!!!