PDA

View Full Version : MEL created particles disappearing?


razilon
02-04-2008, 09:48 PM
I'm creating a particle system using mel (relevant snippet):

string $partName[] = `particle`;
emit -o $partName[0] -pos $randPt[0] $randPt[1] $randPt[2];

It works fine, displays in the scene fine, etc, until I scrub the animation. Once it scrubs back to frame 1, all the particles disappear, never to be seen again.

Why is this happening?

razilon
02-04-2008, 09:53 PM
Nevermind...just had to saveInitialState on the particle system and it all works.

CGTalk Moderation
02-04-2008, 09:53 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.