View Full Version : parentID from multiple emitters
MikeRhone 08-26-2007, 12:40 AM Is it possible to get parentId from an emitter? I want to pass along info to the particleExpession based on what emitter the particle came from. Anyone have any suggestions on how to do this, or is parentId available only in cases when you have particles emitting particles?
M
|
|
MikeRhone
08-26-2007, 12:47 AM
Answered my own question. Apparently there is a hidden attribute called emitterId. Its like parentId, but for emitters.
BOOYAH!
darktding
08-26-2007, 03:25 AM
another small tip, if you connect, reconnect the emitters to the particleShape the emitter ids get updated to new values, so look out...
thomwickes
08-27-2007, 01:53 AM
ahhhh emitterId - that's the one.
did you get this all looking peachy in the end??
MikeRhone
08-27-2007, 04:33 PM
darktding:Thanks for the tip. I noticed the emitterId's are pretty arbitrary. I'll make sure to keep an eye out when I (re)connect emitters.
thomwickes: Well, the technical part is working. As for looking peachy; I hope so or my ass is fired! ;)
CGTalk Moderation
08-27-2007, 04:33 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.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.