ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

how to link a layer with a rigged expression to a null without messing it up?

COW Forums : Adobe After Effects Expressions

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

Roei Tzoref
how to link a layer with a rigged expression to a null without messing it up?
on Jul 23, 2017 at 12:07:33 pm

I am looking for a way to link an expression rigged layer to a null and keeping it's absolute values so there won't be a shift when I parent it to a null.

this is what's happening:

this is the beginning of a bar chart template I am creating.
the bar has this expression:
t1 = key(1).time;
t2 = key(2).time;
v1 = 1413;
v2 = linear(effect("Slider Control")("Slider"),100,0,1413,885);

it's set on the Y position. now I can change the slider and the animation will act according to 0-100. I want to duplicate this bar and spread them on the X axis. it will be with other layers so I need to parent them so I can move them together. when I do, unless my Null is set to the exact same value as the Bar, there will be a shift. I can either set my null to 0, or parent it and then set it manually back into place. I am looking for something more elegant. to parent it with the right code and not have it to offset.

what's the magic combination here please? I can't seem to make toworld work here.

Thank you

Roei Tzoref
After Effects Artist & Instructor
♫ Ae Blues Tutorials

Posts IndexRead Thread 

Current Message Thread:

© 2019 All Rights Reserved