Group particles and animate whole group - Printable Version +- tyFlow Forum (https://forum.tyflow.com) +-- Forum: tyFlow Discussion (https://forum.tyflow.com/forum-1.html) +--- Forum: General Discussion (https://forum.tyflow.com/forum-2.html) +--- Thread: Group particles and animate whole group (/thread-1525.html) |
Group particles and animate whole group - tymc - 03-10-2020 First off again I cannot stress enough how great tyflow is ...but since I still suck pretty bad at using it I have some questions: Basically what I am trying to do is a spinning rotor which gets fractured into bits when it collides with another object. Since I had problems with using the original spinning rotation animation of the original mesh through an actor and some (probably too complicated setup) I chose to simplify everything. Now I have only a "Birth Objects" loading the original mesh, a "voronoi fracture " breaking it up, a "Particle Bind" for holding everything together, a "PhysicX Shape" for setting up collisions. I wanted to use a "Spin" node to animate the rotation but I would have to sort of group everything and center the pivot first. Is there a way to do that or is my approach completely nonsense? Thank you in advance RE: Group particles and animate whole group - d4rk3lf - 03-10-2020 The way I would do it is: - Birth object (pick up the source ) - Object Bind (pick up the source, and that will drive spinning animation), select - lock to surface - Voronoi - PhysX shape - PhysX Switch - kinematic (so it preserves the animation) - PhysX Collision (pick up any collision object that you want your particles to activate and send into event where they are not bind to object) .... So... above PhysX Collision lead to next event where you only have... - Physx Switch - activate - PhysX Shape (probably not needed, because PhysX Shape automatically transfer to next evet, but you might wanna change some settings) In your setup, there's a few things you need to be aware of... mainly is Particle Bind and PhysX shape. They don't work together. Keep in mind there is a 2 ways to simulate rigid dynamics: PhysX, and Particle Physics. Both solver have their own binding operator, switch operator, and others. Particle force is simpler, and faster then Physx Shape, but it can't work on voronoi shapes, it only works as particle (sphere) that collides with each others, then can't use any other shapes.... it's ideal for sand simulation. Hope this helps, and clear some of your dilemma. Cheers. RE: Group particles and animate whole group - tymc - 03-11-2020 (03-10-2020, 03:43 PM)Thanks very much, d4rk3lf!I tried it out d4rk3lf Wrote: Thanks very much, d4rk3lf! RE: Group particles and animate whole group - d4rk3lf - 03-11-2020 Ok, great. It's hard for me to tell from screenshot what exact behavior you want, but here is my thoughts: - Try placing Voronoi above object bind operator. That way the fractures itself should be rotated, so you might not need speed operator to inherit their motion... not sure really... just a guess. - It's actually logical why this work without switch operators, because, in first event, object bind is forcing PhysX shape to just follow it, and in the second event there is no object bind, so PhysX can behave freely. But keep in mind those switch operators, because they will come handy in future, for some different scenes. Cheers RE: Group particles and animate whole group - tymc - 03-12-2020 Thanks mate! I will definitely keep those switches in mind. So often I struggle finding tools doing specific stuff and then recognize (mostly with kind help of others ) they were in there all along. Cheers! |