Jump to content
javadsadeghi

Group particles with maximum age

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×