NvCloth simulation not working properly

Hi, I created a model with a hood on it. I wanted to make the cloth simulation on the hood work. It is a skeleton mesh. I created a clothing data for it and applied it. Then I painted where the cloths should be simulated. But the problem is as soon as I apply the painted clothing data the mesh shoots straight up and act very strangely. See the image attached to see what I mean.

Before applying the clothing data.

After Applying the clothing Data.

What am I doing wrong? Can anyone help me out? I thank you in advance. PS. I created a simple flag with skeleton and tested it out. I works fine.

Hey scbaradwaj,

Can you post a screenshot of your physics asset from that Skeletal Mesh?
I just want to confirm that everything looks good on that end, since that’s most likely the culprit.

Hi, Thanks for the reply! Here is the physics asset. Now that I looked at it it does look wrong. I fit is wrong how do I fix it?

So what’s happening is that your physics asset is colliding with the cloth.

You can scale each capsule down to where its the proper size so that its just as big as the body part, in this case, the torso.

Keep in mind that the cloth will only collide with the physics asset, so if it ever collides with the character’s arms, since the arms do not have physics capsules tied to them, the cloth will simply ignore them.

You can add capsule colliders that are tied to a bone joint. From what I’ve seen, most torso’s consist of 3 capsules in the same orientation as your image, tied to 3 different spine joints.

You can right click on a joint, and click “Add/Replace Bodies”, and this will add a collider tied to that joint.

That worked! There were two physics capsules for neck and head which were small enough but were causing the cloth to look like as seen in the first image. I removed them and it all went back to normal! Thank you!