Jump to content

Particles Attracted to separate spheres


Recommended Posts

Hello all,

I'm working on a particle sim where I have a disc of swirling particles, and I want the particles to eventually clump into 5 separate "clumps".

I can do this with one object, using the POP Attract node. However, I'm sure there is a more elegant way to do this with VEX.

Anyone else do this type of effect?



Link to comment
Share on other sites


You can create points for the clump centers and then perform a point cloud lookup to assign your particles to each clump. From there it's easy to create a force that pushes the particles toward the clump centers.

Link to comment
Share on other sites

I like using pop_steer_seek instead of pop_attract because it has a braking feature when approaching a goal. If you scatter equal number of points on the spheres, you can fetch the position of those points within the simulation and supply them as a goal that the input points will seek.



Edited by Atom
  • Like 2
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...