ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Point Control expressions

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Paulo Zilberman
Point Control expressions
on Apr 4, 2018 at 9:40:17 am

Hello

I applied a Point Control to a solid that should move a text line in both directions and a shape layer vertically in another comp.
When I turn the point control watch on and move it the elements move accordingly and the first KF is created.
If I move the cursor to the right and move the point control a new KF is created but the elements don't move.
All the KF I create to the right show the new position of the point and interpolate normally but the elements keep stuck to the first KF position.
If I move the cursor to the left and move the point control the elements move with the point and a new KF is created but now the KF to the right stops working and the elements don't animate.

I applied this expression to the position of the text:

comp("Animatic1").layer("PosicaoTexto").effect("Point Control")("Point")

And this one to the Y position of the shape layer:

comp("Animatic1").layer("PosicaoTexto").effect("Point Control")("Point")[1]+30


Thank you very much

comp("Animatic1").layer("PosicaoTexto").effect("Point Control")("Point")

comp("Animatic1").layer("PosicaoTexto").effect("Point Control")("Point")[1]+30


Return to posts index

Dan Ebberts
Re: Point Control expressions
on Apr 4, 2018 at 4:11:54 pm

If your expression is in a precomp that doesn't start at time zero in the main comp, you probably need to compensate for that by doing something like this:

L = comp("Animatic1").layer(thisComp.name);
comp("Animatic1").layer("PosicaoTexto").effect("Point Control")("Point").valueAtTime(time + L.startTime)


Dan



Return to posts index

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