hosok2 Posted January 31, 2008 Share Posted January 31, 2008 Hi all, Is there any way to access parent particle's attribute? I used Split to make chidren and want to kill them when parent dies. Please... somebody help me Quote Link to comment Share on other sites More sharing options...
rdg Posted January 31, 2008 Share Posted January 31, 2008 Hi all,Is there any way to access parent particle's attribute? I used Split to make chidren and want to kill them when parent dies. Please... somebody help me Interesting topic title. Not sure: Maybe join some groups to kill the family? Or define an event that's going to trigger the actions? Georg Quote Link to comment Share on other sites More sharing options...
hosok2 Posted January 31, 2008 Author Share Posted January 31, 2008 Interesting topic title.Not sure: Maybe join some groups to kill the family? Or define an event that's going to trigger the actions? Georg I haven't tried join. I'm not sure how I can use join in pop. I tried event, and also not sure if this is correct way... anyway, it doesn't work. I also tried to make children's lifespan same as parent's (lifespan - age) when they are born. and also tried voppop... could you look at my file? yellow nodes are my approach so far. kill.hipnc Quote Link to comment Share on other sites More sharing options...
old school Posted January 31, 2008 Share Posted January 31, 2008 You need to turn on the "Add ID Attributes" toggle in the Source POP's Add Attributes folder. That will give you what you want. The ID of the parent particle is contained in the "parent" attribute. I usually set the "Add Generation Attribute" on as well. This tells me what generation the particle is found in the "gen" attribute. This comes in handy if your Split POP is going crazy birthing particles from previous splits. Let's you know that this is happening. Armed with this, you could have a couple split POPs and cascade all the way up to the top if you had to kill the child and all of it's ancestors. I would use a Group POP to collect all the expressions then use a Kill POP with the group fed in. It takes one full time step before you can kill a particle once it is marked for death. If you really want it dead on the current frame, you will have to increase the Oversampling parameter (time step) on the POP Network SOP above so that the particle network cooks between frames. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.