Repel flip particles with a certain attribute

   2104   0   0
User Avatar
Member
16 posts
Joined: 3月 2014
オフライン
Hi,

I have flip fluid particles with a few different stark colors interacting, and I don't want the colors to mix too much as it ends up looking like dots when a single green particle swims in a sea of blue particles for instance.

It would be cool if the particles sort of separated into the various colors, like oil and water as much as possible. I tried to set up a custom integer attribute which holds the id for each type of particle. Using that I've been trying to attract points of the same id using pop_interact, but I haven't gotten quite the result I would like, a bit too chaotic still.

Any ideas on how to approach something like this? I'm still a pretty new to Houdini so I'm probably unaware of a lot of tricks!

Cheers!
  • Quick Links