Create Animation Flag
March 14th, 2008This tutorial we will learn about soft bodies.
Create Nurbs plane. Witdh 10, length ratio 2, patches U and V 10. Rotate 90 and translate Y 20.


Go to soft/rigid bodies > create soft body > option.
Cration options duplicate, make copy soft
Duplicate input graph off
Hide non-soft object on
Make non-soft a goal on
Weight 1

Select nurbs plane. Go to soft/rigid bodies > create springs > option.
Max distance 1
Wire walk length 3

Select copyOfnurbsPlane. Go to fields add gravity, air and tubulance.

Set position for air and turbulence see picture below

Right click nurbs plane. Go to paint > particle > copyofnurbsplane1particleshape-goalPP

The flag will change like picture below.

Go to tool settings. Change paint attribute like picture below.

Paint nurbs plane like picture below

Select air field. Press “t”. change amplitude to 9.8 (same like amplitude gravity), distance 25 and attenuation 0. (this optional you can change parameter depend on you).

Select turbulence field. Press “t”. change amplitude 2.5 and attenuation 0. (this optional you can change parameter depend on you).

Still select turbulence field. See channel box, right click on phase Z, select expression. Write this code in expression:
turbulenceField1.phaseZ = frame * 10;
you can change “10″ to another number. Now play the scene. My result is like this.



thank you, but is it possible to make the flag loop?
i followed your tutorial carefully, but still the flag only stays up for a couple of seconds before mutating and gravity pulls it down..
aleesha, my result not like that. My friend also try this tutorial and have same result like me.
The key for animation flag (after set the soft body) is on magnitude, attenuation and max distance of all fields and phaseZ expression on turbulence field. Difference size of object, you need change the magnitudes, attenuation and max distance. In this tutorial you can set the max distance of air field and turbulence field more long than the object. I hope this can help you.