avillabon
10-19-2009, 11:22 PM
I have instanced some particles with 1 piece of geometry and given them random rotation but now i need an expression to give them random scale.
I tried the explanation on this other thread but no luck:
http://forums.cgsociety.org/showthread.php?f=86&t=809451&highlight=particle+instance
I created a new attr "scalePP" as vector and per particle. I right click and hit "creation expression", in the expression editor, under creation, i have this line of code:
particleShape1.rotPP = rand (0,360);
What should my next line of code be? Bare in mind i want the instanced geo to be the one affected by the random scale.. Perhaps im approaching this the wrong way? Any help would be greatly appreciated!!
Alex
I tried the explanation on this other thread but no luck:
http://forums.cgsociety.org/showthread.php?f=86&t=809451&highlight=particle+instance
I created a new attr "scalePP" as vector and per particle. I right click and hit "creation expression", in the expression editor, under creation, i have this line of code:
particleShape1.rotPP = rand (0,360);
What should my next line of code be? Bare in mind i want the instanced geo to be the one affected by the random scale.. Perhaps im approaching this the wrong way? Any help would be greatly appreciated!!
Alex
