x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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. alt text

After Applying the clothing Data. alt text

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.

Product Version: UE 4.20
Tags:
more ▼

asked Sep 28 '18 at 12:45 PM in Using UE4

avatar image

Shri_Charana
14 3 6 8

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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.

more ▼

answered Dec 08 '18 at 05:19 AM

avatar image

bruize10
31 3 2

avatar image Shri_Charana Dec 08 '18 at 07:58 AM

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? alt text

physicsasset.png (1.5 MB)
avatar image bruize10 Dec 08 '18 at 10:05 AM

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.

avatar image Shri_Charana Dec 08 '18 at 12:11 PM

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!

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question