pop attractor not working as expected

   4570   4   2
User Avatar
Member
17 posts
Joined: Nov. 2008
Offline
Hi, I'm reposting this - I haven't got any responses from the Apprentice forum.

I'm very new to Houdini. I'm trying to do a particle simulation where particles first move around and then each go back to specific points, that will eventually define a static shape(s).

The simulation is working (sort of), but I'm getting many stray particles that continue to fly around. I understand that I can fix this by animating drag parameters etc., but I'm wondering if I'm missing something and the attractor pop could be doing what I want.

Also, if anybody has suggestions, or a better way that might help….

I've attached the file (hipnc)

Thanks

Attachments:
attractor_03.hipnc (82.5 KB)

User Avatar
Staff
1072 posts
Joined: July 2005
Offline
No, I don't think you're missing anything. The attractor POP only has the ability to stop a particle when it reaches the attractor point, but this only works if this actually happens on a frame boundary. You'll be better off by adding a drag and scaling it based on the distance to the attractor point.
User Avatar
Member
17 posts
Joined: Nov. 2008
Offline
Thanks for the help! Now how do I animate the drag based on proximity to the attractor points? Is this where I delve into Houdini expressions? Please nudge me in the right direction….
User Avatar
Member
137 posts
Joined:
Offline
I think what you're looking for is the Follow Pop. I've included an example file.

François

Attachments:
attractor_03_138.v02.hipnc (79.9 KB)

User Avatar
Member
17 posts
Joined: Nov. 2008
Offline
Thanks Francois. That looks just like what I need!
  • Quick Links