View Full Version : Disconnecting an emitter from particleObejct changes the emitterId...!? Any fix?
NEO^AMiGA 03-06-2006, 06:28 PM Just found an annoyance that costed me some hours of headache. I have a particleObject that have multiple emitters assigned to it. In the attributes I have scripted alot so colorPP and so are based upon which emitter that emitted the particle. And to do that I use the "emitterId" function. But when I disconnect an emitter from the particle and then reconnects it the emitterId for that emitter changes... This sabotages most of my code and can't see why one wouldn't want to have the same emitterId for an emitter as long as it ain't deleted. Is there some workaround for this...?
|
|
cosku
03-06-2006, 09:00 PM
I believe "thats the way it is".
You'll have to use multiple particle objects, and copy over expressions etc.
Sorry to say.
-cosku
NEO^AMiGA
03-06-2006, 10:12 PM
WEll... unfortunally that's no option since the particles are sprites. And two particle objects with sprites dosn't blend well together. So one must emitt same particleobject with several emitters and use the emitterId to controll the different behaviours. Atleast this was the case in maya 6.x and I honestly havn't tried anything else in 7.x. Old habit you know. But guess that's a behaviour that they havn't changed.
Well... So then the solution will be to code a lil GUI where i can just set the emitters on and off. Not the best and cleanest solution but not to hard either. Why can't things just be easy? =/
I believe "thats the way it is".
You'll have to use multiple particle objects, and copy over expressions etc.
Sorry to say.
-cosku
cosku
03-07-2006, 01:23 AM
``Nothing that has meaning is easy. "Easy" doesn't enter into grown-up life. ``
from `The Weather Man`.. good movie :P
-cosku
CGTalk Moderation
03-07-2006, 01:23 AM
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.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.