O'Reilly logo

MEL Scripting for Maya Animators, 2nd Edition by Mark R. Wilkins, Chris Kazmier

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 19. Examples Using MEL with Particle Dynamics

As we saw in Chapter 4, you can use particle expressions to achieve fine control over the dynamics of particle systems by directly manipulating particles’ positions, velocities, and accelerations.

An approach that is more useful in many circumstances, however, is to use MEL and expressions to manipulate particle goals. Using goals, you can use your scripts to influence particle motion while you still take advantage of fields and collisions. Rather than entirely bypassing the dynamics system as you do when you directly control particle position, velocity, or acceleration, by using goals to influence particles you can strike a suitable balance between your scripted behavior and the influence of ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required