ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

postrizeTime + particlePlayground

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
vahab san
postrizeTime + particlePlayground
on Mar 29, 2017 at 7:19:12 am

Hello all!

I've a particlePlayground with random cannon position. I used posterizeTime to give it a tiny delay at each position it reaches. Now I need the cannon to emit only at delays, not between them when it moves.

Thanks
VahabSan

posterizeTime(1);
pct = random (0,100);
if (numKeys > 1){
t0 = key(1).time;
t1 = key(numKeys).time;
t = linear(pct,0,100,t0,t1);
valueAtTime(t);
}else{
value
}


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]