Jump to content

Particle age in a group..


bestxhh

Recommended Posts

Guys hi

 

In the particle, how can I get the particles to enter a certain group, and then calculate the $AGE?

 

I have some points. It's black.

 

Now. There is a red ball passing through these points.

 

I now want to add a $AGE attribute value to these points is $T

 

But I would like to make these points at the beginning of the red will be calculated from 0 $T, and I now all the $AGE attributes are the same value

 

What should I do?

 

thanks.. :wub:

Link to comment
Share on other sites

Ah ok. file included. hopefully this is what you meant. you make a group in a sop solver in particles, the sop solver evaluates every frame, that group continues even after the sphere has past. Not sure if that is what you are after. Then there is a solver node which lets you make a count and make it say "if inside the sphere group, increase this count number to time" (starting at 0 like  you requested). The way you make it start at 0 is make one variable that starts a count starting at 0. To make the offset of time, you make another variable that takes that count variable and divides it by $FPS.  Next is an example in another wrangle that shows deleting particles after certain age

count_particle.hiplc

Edited by Tyfx567
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...