Maya Tutorials:particle expressions

| Comments (0) | TrackBacks (0)
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) 2008 by maya blog:3D CG labo, All Rights Reserved.

0 TrackBacks

Listed below are links to blogs that reference this entry: Maya Tutorials:particle expressions.

TrackBack URL for this entry: http://202.58.16.97/cgi/mt41/mt-tb.cgi/149

Leave a comment