View Full Version : TP fragment and reform
07-14-2006, 07:05 AM
I'm trying to create an effect where an object fragments and reforms. I've got it mostly down, but I'm running into a problem when the object reforms - the position values are correct on reformation, but the particles ID's get screwed up, so they go to the wrong id's.
The example I'm posting is using info from Bjorn's softbody example to help me with the initial setup. I'm not sure if PFrag assigns id values differently than the other emitters. This setup works fine if I'm emitting from an object, rather than fragmenting. I've also tried creating a duplicate fragment object, that fragments with 0 speed and getting the particles to go back to that position, but I don't think I set that up right, either... I wasn't exactly sure how to store their position in a data channel to be called back in conjunction with the pposition follow node.
Anyway, here is my scene file (http://www.adamswaab.com/cgtalk/tp_frag_and_reform_01.c4d), with notes. Hopefully someone can give me a little help.
your link is dead here.
I created a setup like that earlier this year, maybe it is helpfull to you.
http://www.bonkers.de/download/tp_assemble8a.c4d (240 KB)
http://www.bonkers.de/download/tp_assemble8a.mov (350 KB)
Just remembered, i posted this earlier on C4D Cafe with some comments.
Take a look here for more information:
07-14-2006, 07:34 AM
The link's fixed (right click to save).
Thanks, Srek! I'll take a look at the file and link and get my head around them.
The birth number does not help that much. What you need is the local position on birth and the local alignment.
07-14-2006, 08:16 AM
Yeah, I had a feeling it was something like that, which is why I tried my other approach. I've only spent a few minutes with your file so far. I'm taking it apart right now to get to the essense of it, getting rid of all the switches and fancy stuff.
One thing i notice is that if you delete the particle age and bool nodes connecting to the initial pset data node (in the assemble xgroup) it screws up the system. So, if I'm not mistaken, that's being used to determing when the data channel values get stored?
Yes, storing the original position/alignment is done when the particle enters the group. This is usualy on birth, but basicaly it can be any event you like.
07-14-2006, 08:18 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.