Anyone out there have a script that will make my cloth flag wave like it’s a windy day?
you can add some acceleration, with a little random acceleration, and attach it to a pole with two “joints”
I HAVE made that of course… I asked for a SCRIPT that does well with the process of making it look like it’s waving in the wind. As for adding forces… I have been doing many things like that, but I am not getting much in results that look good. I know many have been doing this and wanted to know if they had something they would share with me. There’s even a Unity made cloth physics example video I’ve seen, but have not been able to locate a download of the example project to snag their script from.
You could write a very simple verlet integration routine to animate the vertices on your flag…
It can be done in a matter of a few minutes, really… check out this guy: (it’s flash, but the algorithm should be easily portable)
Cheers
I’m not looking for anything that complicated… just a simple script that will allow me to make it look like the flag is waving simply. I will be needing it to face west or east depending on script values, and I will need to control the wind amount. That’s all.
Could you just make an animated flag? Then play the animation.
Silly goose, there is no script in the flag cloth example shown in the video to download. It’s all handled by physics.
I know there is no script that COMES with it… I’m asking people if they would know how to apply some forces to it through a script to make it flap like it is waving… that make sense? Anyways, any help would be appreciated. Please only reply if you have a solution or are willing to propose one thank you.
Yes, but that is not what I want.