mic Posted August 6, 2008 Share Posted August 6, 2008 hello friends! simple problem: pop: location -> event 'too_old' ($FF > 25). i want to query only the time of event happening. for example, popeventtime('too_old') will evaluate always after 25 frame.. and i want only 25th frame.. (event = ($FF>25) && ($FF < 26) isn't very good solution, because in real scene eventRule is much larger and some particles can slip through "manually edited range") Quote Link to comment Share on other sites More sharing options...
ragupasta Posted August 6, 2008 Share Posted August 6, 2008 Cant you just use the $F == 25 expression? Quote Link to comment Share on other sites More sharing options...
mic Posted August 6, 2008 Author Share Posted August 6, 2008 (edited) Cant you just use the $F == 25 expression? no - this is an example, the real event rule is smth like ($dist (my attribute) < n), and unlikely this attr will ever take on a value n for a custom particle. in other words, i need 'poppoint at given (past) frame' (like 'chf' expression function, but for particles) Edited August 6, 2008 by mic Quote Link to comment Share on other sites More sharing options...
mic Posted August 6, 2008 Author Share Posted August 6, 2008 the whole problem is: in my particle system particles are dead when some condition happens (some distance < n if age > m). i don't want them dead, i want to animate pscale smoothly to zero (you know, f(x) = 1 + 2x^3 - 3x^2 [smooth curve from one to zero]). so i need the exact time of the condition's implementation - to bring to my formula. from this moment pscale must reduce. of course there are some fake solutions like [event=true => pscale*0.5, if pscale < 0.01 => kill]. but i'm interested in a smart solution) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.