How can I add Cloth.externalAcceleration to a curtain

Hi…

I’m in a trouble. I thought Windzone effect would work for interactive cloth as well. But it came out to work only for trees. I have a curtain and window half-opened and I need some wind force to move the curtain in a turbulent way. I know there’s a script for it but I dunno how to use it:

could you be kind enough to tell me exactly which lines I 'd put in a javascript file and how I would attach this script to my curtain ?

thx in advance guys

The answer was very simple… for making a wind effect you can simply tweak the External and Random Acceleration options of an Interactive Cloth. You don’t even need that script.
Why would I use that script ?

Anyway I came up with a solution :smiley:

Lot of great information which can be helpful in some or the other way. Keep updating the blog,looking forward for more contents.
Fabrik