Jump to content

Group particles with maximum age


javadsadeghi

Recommended Posts

Hey everyone!

I got a very silly question, it seems simple but i cant figure it out!
I have a Flip sim with reseeding "on", I had to turn it on because of the look i was looking for, so particles are constantly dying and generating overtime.
 
I would like to randomly group those particles that doesn't die until the end (basically their age is maximum) and clone sphere on them, I have age attribute from solver but for some reason values are changing uniformly for all the points!
I tried making my own "age" attribute using SOP Solver with @age += @Timeinc and attribute transfer but the results wasn't accurate enough because of "attrib transfer" approximation nature.


So, I guess my solution is to group all the particles that are present in the last frame based on "id", keep them and delete the rest of them, I guess gotta do it with Vex using arrays and stuff but I'm a noobie in vex!
I know it sound confusing but I appreciate if anyone has a solution for this :)
Thank you

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