tyFlow Forum
Grain inside cloth - 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: Grain inside cloth (/thread-60.html)



Grain inside cloth - Jokermax - 04-02-2019

Hello,
this plugin is incredible, thank you so much for letting us try it!
i am trying to make a sandbag  - grains inside cloth - any tips on how to better set it up? I can get sand and bag behave well separately but together the grains just bust right out of it
Thanks!
Max


RE: Grain inside cloth - tyFlow - 04-02-2019

Make sure the vertices of your cloth are packed tight enough together so that the collision radii of the grains collide against them and don't pass by...

Also, if your Particle Physics operators for your cloth and grains are in separate events, disable the "process only this event" checkbox in each.


RE: Grain inside cloth - Jokermax - 04-02-2019

thanks! I got the the bag to contain the sand inside for the most part but the sand doesn't seem to affect the bag, is that sort of bi-directional interaction even possible?


RE: Grain inside cloth - tyFlow - 04-02-2019

Yes, it should be possible. Can you post a screencap of your flow, as well as a screencap of your Particle Physics operator settings?


RE: Grain inside cloth - Jokermax - 04-02-2019

forum attachments dont seem to work

here is my setup
https://www.dropbox.com/s/u7ps2qr6pkrv22g/sandbag1.jpg?dl=0
https://www.dropbox.com/s/qjtehaexi4hjrat/sandbag2.jpg?dl=0


RE: Grain inside cloth - tyFlow - 04-02-2019

Ah I see the problem. You've sent your sand particles to a display event, therefore they've left the event with the Particle Physics operator and so they're not affected by it.

You'll need to either move the Particle Physics operator into their display event, or keep them in the other event and not pass them through the Send Out test.

Any particle that you want to be included in the solver properly needs to be in an event with a Particle Physics operator.

Think of events like buckets, and particles like grains of sand....a grain of sand cannot sit in more than one bucket at the same time. This is different than something like TP groups, where particles can occupy multiple groups. Operators will only affect the particles that are in their event.