Ragdoll Character with multiple Skeletal Mesh Components
I am experiencing a problem with characters consisting of multiple Skeletal Mesh Components when ragdolling.
The set-up is that there is a Master Component for the body, and a Slave Component for armor/clothing around that body. When animating movement etc., it works fine, and the armor follows the body around correctly. However, when I start ragdolling (I tried SetSimulatePhysics on all mesh components, and also tried it only on master component, same issue in both cases), the armor and the body get kind of separated.
They don't get separated entirely, in that affecting the body with physics impulses causes the armor to also react in strange ways (by bouncing around and floating in the air)... so there still appears to be some kind of connection between the parts, but it is not working as intended.
Where is the most likely issue? Should some additional C++ functions be called to make the master/slave setup work correctly when influenced by the physics engine? Or is it more likely that there is something wrong with the bone setup in one of both of the skeletal meshes? Or something else entirely?
asked Oct 04 '16 at 11:03 AM in C++ Programming
Follow this question
Once you sign in you will be able to subscribe for any updates here