Community
Maya Dynamics
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya dynamics topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Per particle opacity

0 REPLIES 0
Reply
Message 1 of 1
callum-r123
266 Views, 0 Replies

Per particle opacity

Hello,

 

I wonder if someone could help me with the following:

 

I have particles applied to a goal mesh, on creation each particle has an opacity of 0,

 

I am trying to work out how to set the opacity of the particles to 1, one particle at a time.

 

Currently I have:

 

In the particleShape1 OpacityPP (Creation) :  

 

particleShape1.opacityPP = 0;

 

In the particleShape1 OpacityPP (Runtime before dynamics)

 

int $myTimeVariable1 = rand (200,1000);

if (frame > $myTimeVariable1)

{

particleShape1.opacityPP = 1;

}

else{

particleShape1.opacityPP = 0;

}

 

The 200, 1000 is an attempt to get the process to start after frame 200 and also to add randomization to the particles which are made visual. This seems to work okay but the particles are only keping their opacity for 1 frame.

0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report