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

Creating collision events

From: Maya 2009 New Features

Video: Creating collision events

Now let's talk about Collision Events. These are events that happen when a particle hits something. So for example, if a particle hits a wall, you may want it to break into several different particles. We can do that using the Collision Event Editor. Let me show you how this works. First thing we need is something to collide against. So I am just going to create a plane, move it up a little bit and then let's go ahead and create a particle system. We are going to create an Emitter, let's go ahead and create balls. I am going to create an Emitter Omni and let's make sure the rate is kind of low. In fact, let's just make it like five particles per second. We are not going to emit a whole lot here and just leave the speed here and just go ahead and create that and move it slightly above the plane, so it will collide with it. But of course, if you want it to collide, you need to select the plane, go nMesh > Create Passive Collider. So I am going to go ahead and expand my frame rate here and let's just go ahead and create a simple particle system.

Creating collision events

Now let's talk about Collision Events. These are events that happen when a particle hits something. So for example, if a particle hits a wall, you may want it to break into several different particles. We can do that using the Collision Event Editor. Let me show you how this works. First thing we need is something to collide against. So I am just going to create a plane, move it up a little bit and then let's go ahead and create a particle system. We are going to create an Emitter, let's go ahead and create balls. I am going to create an Emitter Omni and let's make sure the rate is kind of low. In fact, let's just make it like five particles per second. We are not going to emit a whole lot here and just leave the speed here and just go ahead and create that and move it slightly above the plane, so it will collide with it. But of course, if you want it to collide, you need to select the plane, go nMesh > Create Passive Collider. So I am going to go ahead and expand my frame rate here and let's just go ahead and create a simple particle system.

That's great. Now, what we want to happen is that when each of these spheres hits the ground, we want it to break up, or do something a little bit more interesting. So what I can do here is select this particle system and go into nParticles and go Particle Collision Event Editor. Now what this has, it has the list of the particle systems in the scene. And what we can do is we can create an event. So we can say when all collisions happen, or the first collision say, we want something to happen. So we want it to either emit more particles, or we want it to split into multiple particles. So let's go ahead and emit a couple of particles, like three or four particles and then down here go Create Event.

Now what this does is as you can see here, you get these particles. I don't know if you can see them all that well, but what happens is, particles start flying off as these hit the ground, and also you can see that these balls disappear and turn into these other types of particles. In fact, we have now two particle systems in the scene. We have the first one which is the spheres, and then we have the second one, which is the emitted particles, and we can certainly change those from dots to spheres, or whatever type of particle we want.

Now let's go ahead and reselect particle one and go back into that Particle Collision Event Editor. So I can select that event and I can delete it. Now let's go ahead and create a new one here. If I want to, I can split these particles. Let's go ahead and create one more. We'll split the particles into say, three separate particles and create that event and let's see what happens now. So now when they hit, they split into three separate particles.

Now if I want, I can select this second particle system and go into the attributes from that and change the Render type to sphere, streaks, whatever. So if you want to make that into spheres, you can certainly do that. So let's go back into this one more time and let's go over it again. So what you do is select your particle, select the event and then select what happens. So one of the things you can do is you can keep going. You can have your initial particle system create additional particles, which in turn create even more particles. So as you can see this can get very complex, very quickly, but it's also very, very powerful.

Show transcript

This video is part of

Image for Maya 2009 New Features
Maya 2009 New Features

29 video lessons · 4729 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.