ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Re: Help for expression that lets a slider control counts...

COW Forums : Adobe After Effects Expressions

Respond to this post   •   Return to posts index   •   Read entire thread

Marten Kopp
Re: Help for expression that lets a slider control counts...
on May 10, 2009 at 7:04:05 pm

Hi Dan,

Thanks for your quick reply. I allready tried another way. It works a little now.

What I actually try to accomplish is that (i use the suretarget plugin from videocopilot) when I move around between target, the camera zooms out a bit.

I got this expression now:

nummer = thisComp.layer("Null 5").effect("SureTarget")("Slider");

if (nummer == 1 || nummer == 2 || nummer == 3 || nummer == 4 || nummer == 5 || nummer == 6 || nummer == 7 || nummer == 8 || nummer == 9 || nummer == 10 )

It's a bit amature I guess, but it works for now.

My new problem is how to let the camera ease while its zooming in or out.

The current situation is:

I got 1 Null object witch controlls the suretarget plugin. It's manually keyframed.

Another Null is copying the output from the slider witch the plugin use, into its own slider control. On this one I have the expression witch you saw above.

Finally, my camera (cam optionszoom) has the expression:

thisComp.layer("height").effect("Slider Control")("Slider")*100

That multiplies the output 5 or 2 from the second Null to give the camera some altitude.

But how can I ever manage to let the cam ease its zoom?

Posts IndexRead Thread 

Current Message Thread:

© 2020 All Rights Reserved