ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Re: Delay time and offset rotation (Fanning Cards Animation)

COW Forums : Adobe After Effects

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Respond to this post   •   Return to posts index   •   Read entire thread


Tomas Bumbulevičius
Re: Delay time and offset rotation (Fanning Cards Animation)
on Apr 17, 2019 at 10:42:16 am

Hey Francis,

please share the delay expression you are currently using to enhance it further.

Yet in general, it would be something like this, assuming you have a null layer with 'Slider' named 'delay' in the comp:
delayFrames = thisComp.layer("control").effect("delay")(1);
delay = framesToTime(delayFrames);
extraSpin = 15;
thisComp.layer(index-1).transform.rotation.valueAtTime(time-delay) + extraSpin


You could change 'inded-1' to 'index+1' if your parented layers stack has a different order (if parent is below)

Cheers.

Find out more:
After Effects Tutorials: motion design, expressions, scripting.


Posts IndexRead Thread 


Current Message Thread:





© 2019 CreativeCOW.net All Rights Reserved
[TOP]