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"

[Feature Request] Option to turn off wind in Apex Cloth

Hello, I started working on the new experimental clothing tool for my game. I have two apex cloth assets in my level. One is a piece of cloth on the playable character mesh, and the other is a flag.

Now I want the flag to respond to the WindDirectionalSource, but not the character. I realized that there was no specific way of doing it. The only question I could find regarding my problem was this one. I did manage to find a workaround which I have posted as an answer to the above question but it's not very viable because it requires changing the engine code.

Workaround:

Open ClothingAsset.h and scroll to the EClothingWindMethod (Line: 263). You can create a new enum value called 'None'. Compile the engine and open the skeletal mesh editor. In the cloth config properties of the Apex asset, there'll now be an option to select 'None' in the Wind Method drop-down,

Explaination of why this works:

Wind computation is being done in ClothingSimulationNV.cpp in its UpdateWind function (Line: 1253) using switch case. Any other enum value other than 'Legacy' or 'Accurate' is going to go to the default case, and no computation will be done.

Request:

This does the trick to some extent but I would still like to disable wind on cloth meshes on a per-instance basis in my level maybe through a boolean provided in the SkeletalMeshComponent.

Product Version: UE 4.16
Tags:
more ▼

asked May 26 '17 at 12:15 PM in Rendering

avatar image

lollalol
21 3 9

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

0 answers: sort voted first
Be the first one to answer this question
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