Jump to content

Killing Particles


evanrudefx

Recommended Posts

The popkill sets a the @dead attribute to 1, you can do the same in a popwrangle or directly delete the particles with the "removepoint" function.
in a popwrangle (make sure you set your input1 as your curve SOP)

// if the points are not within the search radius, delete them
if(pcnumfound(pcopen(0,"P",@P,chf("radius"),1))==0)removepoint(0,@ptnum);

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

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