Maya Tutorials:particle expressions

In this tutorial, I will explain how to randomize the particle radius with expressions.

For the basics of particle, please refer to
Maya Tutorial:basics of particle

maya tutorial particle expressionsRandomizing the particle radius
maya tutorial particle expressions
Open the Attribute Editor of particleShape,
click General button in Add Dynamic Attribute

maya tutorial particle expressions
Select radiusPP and click Add button
in the Particle Tab of Add Attribute window.

maya tutorial particle expressions
Open the Exrpession Editor with
Window > Animation Editors > Expression Editor...

Select particleShape with
Object Filter > Dynamics > Particle

Select Creation radio button and enter expression below

radiusPP = rand(1,5);

Click Creat button.

( rand(1,5) returns a random number between 1 and 5 )

maya tutorial particle expressions
Particles are generated with randomized radius.

Copyright (C) 2009 by maya blog:3D CG labo, All Rights Reserved.

Links

[privacy policy]
We use third-party advertising companies to serve ads when you visit our Web site. These companies may use information (not including your name, address email address or telephone number) about your visits to this and other Web sites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.
QLOOKアクセス解析
search this site