ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Control Scale with Null Position

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Brian Altman
Control Scale with Null Position
on Feb 24, 2010 at 4:47:54 pm

Is there a way to control a layer's scale by using the position of a null and/or gradient?

For example, let's say that you have a grid of boxes. Each box is on it's own layer. Is it possible to then drag a null from left to right that will scale those boxes up as it moves past them?

Thanks for any help!


Return to posts index

Andy George
Re: Control Scale with Null Position
on Feb 24, 2010 at 5:13:18 pm

Hi Brian,

Is there a reason you want to use a null or gradiant?
The way I would scale multiple items is like this-

Create a null object and apply the "slider" effect from the
expression controlls effect catagory.

Open the scale property of the first item I want to control the scale of ("layer_1" lets call it)
and option click on the stopwatch to reveal the expression controls. Quickwhip
the scale property to the slider effect on the null object.

Now select layer_1 and go to edit>copy expression only.

Select the rest of the layers you want linked to the null and paste-

-Andy


Return to posts index

Brian Altman
Re: Control Scale with Null Position
on Feb 24, 2010 at 5:28:43 pm

That works for scaling all of the objects at the same time. I'm trying to figure out a way to "grow" the objects on in a linear way.

It would be similar to manually setting the scale for all objects from 0 to 100%, and then offsetting the layers so that they scale up starting on the left and ending on the right. Does that make sense?

The problem is that I am going to be working with a ton of layers and would rather find a more efficient way of working.


Return to posts index


Andy George
Re: Control Scale with Null Position
on Feb 24, 2010 at 5:44:17 pm

Hi Brian,

Yes that makes sense. You could use a "follow the leader" expression,
which would allow you to set a consistent offset between each scale.

Is that what your looking for? Here is a article that does a good job
of breaking down Time offset in expressions.

http://www.creativemac.com/2003/12_dec/tutorials/followtheleader.htm

-Andy


Return to posts index

Brian Altman
Re: Control Scale with Null Position
on Feb 24, 2010 at 6:01:27 pm

I think that just may work; although I already have it set up in my 3D app for this particular project!!

Thanks for the tip...I'll review that link for future use.


Return to posts index

Michael Szalapski
Re: Control Scale with Null Position
on Feb 24, 2010 at 6:33:36 pm

Check this out. It uses expressions on a null object (mouse layer) to drive the scale of objects.

- The Great Szalam
(The 'Great' stands for 'Not So Great, in fact, Extremely Humble')

No trees were harmed in the creation of this message, but several thousand electrons were mildly inconvenienced.


Return to posts index

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