How do I reset Particle Age?
I tried with the Custom Properties operator, but I can't find a way to apply a value to the age channel.
08-10-2023, 04:53 AM
(This post was last modified: 08-10-2023, 04:53 AM by tyFlow.)
You can't modify a particle's age, no. Closest thing is resetting a particle's event age by having it re-enter an event.
What's the use-case here?
I wanted to put the particles into a two event loop, but reset the particle age as they enter the loop so I could use that to control when they exit the loop.
If it was PFlow I'd just reset the age. What's the best way to to it in tyFlow?
08-11-2023, 04:31 PM
(This post was last modified: 08-11-2023, 04:59 PM by tyFlow.)
Event age automatically resets when a particle enters...that's probably what you're looking for/expecting. You can test that with an Age Test.
Unfortunately the particles pass from one event to another in a loop, so the event age is reset every time the particle changes events. I'm looking to test the total time a particle has been in a loop of two events, not a single event.
08-13-2023, 01:42 PM
(This post was last modified: 08-13-2023, 01:44 PM by tyFlow.)
No default way to do that, no. Would be pretty easy with the Script operator. Probably something I could add as a default feature in a future build.
Ok. Got it.
Thanks for the help.