POP particles moving between two points

   1014   2   0
User Avatar
Member
4 posts
Joined: 2月 2024
Offline
Hi!

I have a little struggle with pop setup - I have a two points ("a" and "b") and I want to spawn a partilce in point A and moves to the point B and then dies, at the same time I want to particle that spawns in point B move to point A and then dies. I've manage to create basic setup(adding a pop attract with match method "point per particle"), but my problem is how to kill particles when they are close to the goal?

Thanks in advance!
User Avatar
Member
57 posts
Joined: 4月 2013
Offline
Adding a "popproximity" node to the particle sim which will create a "nearestdist" attribute on each point/particle that can be read using a "popwrangle".....if its in range etc then set the attribute "life" = 0 or "dead" = 1 to kill the particle.
User Avatar
Member
4 posts
Joined: 2月 2024
Offline
It works perfectly! thanks!
  • Quick Links