Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Adding forces to particle systems

From: Maya 2009 New Features

Video: Adding forces to particle systems

Now, previously in Maya you had to create separate wind and separate gravity and other forces separately in order to have them affect the particle system. With nParticles, it's all built-in, which makes it a lot easier to set up. So let me show you how this works. We are going to start with nParticles, and let's go ahead and set our preset to Balls. Then we are going to just create an emitter. I am just going to go ahead and move that above the ground plane a little bit and this should just be an Omni emitter and let's go ahead and emit those spheres.

Adding forces to particle systems

Now, previously in Maya you had to create separate wind and separate gravity and other forces separately in order to have them affect the particle system. With nParticles, it's all built-in, which makes it a lot easier to set up. So let me show you how this works. We are going to start with nParticles, and let's go ahead and set our preset to Balls. Then we are going to just create an emitter. I am just going to go ahead and move that above the ground plane a little bit and this should just be an Omni emitter and let's go ahead and emit those spheres.

As you can see, they are actually falling down; they actually have gravity applied to them. So if we keep that emitter selected and go over to our Attribute Editor, let's just go ahead and see how this works. Well, we have got the emitter. We also have the ParticleShape, which is what defines the actual particle, which makes them for example Balls rather than Clouds and we also have the nucleus tab, which actually defines the forces, such as Gravity and Air Density and the Wind Speed and so on and so forth.

So if we go over here to the ParticleShape and we scroll down to Dynamic Properties, we can turn on or off the Wind or the Gravity. So if I click this button here, that means it's going to Ignore Gravity, which means gravity is not going to affect it, and now you can see it gets more of that cloud shape because the particles are just moving in the direction in which they were emitted. As soon as I turn off this tab, it means that Gravity is back on and you can see how the spheres respond to gravity.

Now, if I go over here to the nucleus tab, you can actually affect Gravity. You can turn gravity on or off. You can actually affect the strength of Gravity here so I can make gravity weaker or I can make it stronger. Now, 9.8 is earth gravity, or 9.8 meters per second squared. You can also change the direction of Gravity. Right now it's -1 in the y direction, which means it pulls straight down. If you want Gravity that pushes up, you can certainly do that.

You can also change the Air Density and the Wind Speed. Let's go ahead and turn up the Wind Speed a bit and see what happens. Well, you can see how the wind actually does affect how these particles move. You can also turn on what's called a Ground Plane. Now, what this does is you can actually create a Ground Plane for those spheres to impact with or to collide with and then you can see now that when they actually hit 0, they fall on the floor.

Now, we can also change some features about the particles. Let's go back to this ParticleShape tab here and go back down to Dynamic Properties. One of the things we can change is the Dynamics Weight. We can also change how it conserves energy. So when it hits the ground, do you want it to bounce like a marble, or do you want it to kind of slow down and not conserve that energy as much? So if I turn down Dynamics Weight here, you can see how it affects it. You can do this interactively as well.

The other thing is how much drag does it have. So for example, if I turn up Drag, you can see that it's actually dragging in the wind a little bit more. So let's go ahead and turn Drag way down, you can see how that affects this. Then we can also Dampen. What that does is obviously it dampens the effect of the forces. Let's go ahead and turn that way back down again.

We can also give the particles mass. This is probably the most important one, because what this affects is how external forces, such as wind, affect the particles. So if I have a heavy mass particles, the wind is not going to affect it as much as if I have a 0 or near 0 mass. So for example, when this is really high, the wind doesn't affect it hardly at all, but when this is low, you can see how the wind even blows these particles across the floor. Now, one of the nicer things about this is that you can actually scale the mass of a particle with age. So for example, I could take this basic mass here and scale it down as the particle ages. Now, these particles aren't aging; they live forever. So this isn't going to really work on this. But you can see how you can actually make the particles lighter as they get older. This is probably good for things like smoke or something like that, where you want the smoke to bellow up and then kind of float off in the wind as the particles get a little bit older.

So in addition to these forces that are built into the Particle System, you can certainly use the other forces that are available in the standard dynamics model, such as any one of these fields here, such as Air, Drag, Gravity. Any of these forces will work on an nParticles field. But typically, I like to use the built-in Wind and Gravity because it's so much easier.

Show transcript

This video is part of

Image for Maya 2009 New Features
Maya 2009 New Features

29 video lessons · 4730 viewers

George Maestri
Author

 

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now "Already a member? Log in

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Maya 2009 New Features.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.