Create Animation Flag

March 14th, 2008

This 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.

Find more tutorials and articles on maya tutorials or Subscribe to Maya 3D Tutorial for more tutorials and articles.
AddThis Social Bookmark Button

3 Comments

Comment by korol
2008-09-11 01:35:43

thank you, but is it possible to make the flag loop?

 
Comment by aleesha
2008-09-14 14:52:41

i followed your tutorial carefully, but still the flag only stays up for a couple of seconds before mutating and gravity pulls it down..

Comment by admin
2008-09-15 00:33:21

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.

 
 

Leave a Reply

Name (required)
E-mail (required - never shown publicly)
URI
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong> in your comment.

Trackback responses to this post