Jump to content

Connect particles based on distance


Recommended Posts

Hi,

I want to set up a particle system where the particles that are closest to each other connect using the add sop.

I can use the proximity pop to group the particles and then use the add sop to connect them using the "each group individually" option but is there a procedural way to call each group rather than have proxgroup1, proxgroup2 etc...

Any advice on how to get this to work or an alternative route would be really appreciated.

Thanks

Chris

Link to comment
Share on other sites

Hi Chris,

Use the pointgrouplist() expression. Assuming your Add SOP is wired after popnet1:

`pointgrouplist("../popnet1")`

Note the backticks (upper left key on a North American keyboard, I forget where on the UK one) are needed because you're putting this into a string field.

Cheers,

Peter B

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.

Guest
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...