How to create a physics asset for the whole body of a modular character?

Hello,

I am currently trying to implement ragdoll physics for my modular character. I am using the set master pose technique so the whole character only has one physics asset for the ragdoll. That is why i need a physics asset for the whole modular character ( head, legs, body … ) and was wondering if that was possible. Is it possible to combine every physics asset for each body part into one ?

Thanks in advance for your help !

Hi Slamyr, I also looked for a solution for this and found this great Epic Game Tutorial for Modular Character: Working with Modular Characters | Unreal Engine Documentation

As described in the tutorial, the “Mesh Merge” solution should be also capable of using physics after merge. But I am not sure how Pys Assets are handled with that solution. The tutorial just says, that “Mesh Merge” support Physics.

But when I use the “mesh merge” solution with the c++ code, I can’t activate physics on the merged mesh. Any idea why? Did you give it a try and bring it to work fine?

It doesn’t look like mesh merging has the capability to generate physics assets on the fly. What you can do however is take a “base” mesh that’s just your naked character’s modular parts merged together in Blender into a single mesh, which most of us already have at this point for animation retargeting/etc, and then use that to generate a physics asset which you apply to all of your merged characters.

Base mesh & auto-generated physics asset:

Setting physics asset after applying merged skeletal mesh:

Result:
fe6020b6aa53cacd933b0a480acf9397ccfff010_2_690x496