FORUMS: list search recent posts

Control Animation Between Keyframes with Sliders

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Dan Sip
Control Animation Between Keyframes with Sliders
on Feb 20, 2016 at 11:38:12 pm

I want to contol 4 keyframes with 2 sliders.

(1 and 2 keytrame with Slider Control 1 but 3 and 4 keyframe with Slider control 2)

Work only one (Slider Control 2).



code that I use:

valueAtTime(linear(thisComp.layer("Null 1").effect("Slider Control 1")("Slider"),0,100,key(1).time,key(2).time));
valueAtTime(linear(thisComp.layer("Null 1").effect("Slider Control 2")("Slider"),0,100,key(2).time,key(3).time))


Return to posts index

Dan Sip
Re: Control Animation Between Keyframes with Sliders
on Feb 21, 2016 at 1:10:42 pm

is it possible to do that? please, help guys!


Return to posts index

Dan Ebberts
Re: Control Animation Between Keyframes with Sliders
on Feb 21, 2016 at 7:09:51 pm

It's not clear how you want this to work. What determines whether to use slider 1 or slider 2?

Dan



Return to posts index


Dan Sip
Re: Control Animation Between Keyframes with Sliders
on Feb 21, 2016 at 10:31:58 pm

I want to use both sliders.



What I want to achieve, example:



to make this thing work, I need the expression.
Any ideas?


Return to posts index

Dan Ebberts
Re: Control Animation Between Keyframes with Sliders
on Feb 21, 2016 at 10:42:45 pm

About the only tool you have to manipulate a path with an expression is valueAtTime(). So the resulting shape has to be something that is actually keyframed at some particular time. It looks like you're trying to combine two different keyframed segments and I don't know of any way to do that.

Dan



Return to posts index

Dan Ebberts
Re: Control Animation Between Keyframes with Sliders
on Feb 22, 2016 at 1:55:15 am

Maybe you can get what you want by using two masks on the same layer, the first set to add and the second set to subtract (inverted). Then keyframe both masks and attach each mask to its own slider.

Dan



Return to posts index


Dan Sip
Re: Control Animation Between Keyframes with Sliders
on Feb 22, 2016 at 3:01:20 pm

Yes, maybe two masks on the same layer, it is the best solution in this situation.

Thank you, Dan)


Return to posts index

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