ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Expression ease(time, inPoint ...) With position.

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Magno Alves
Expression ease(time, inPoint ...) With position.
on Mar 10, 2019 at 4:18:19 pm

Hi, first of all I thank you for your help.

I have the following question: I want to create a movie credit where the text is always centered, but after it has been centralized, make a position animation on the y axis based on its own position.
I tried the expression:

ease (time, inPoint + 1, inPoint + 3, [sourceRectAtTime (). bottom], [sourceRectAtTime (). top]);

Did not work.

As I said beyond the movement I want the text to be centered but I could not integrate two expressions to stop this from working, to center I am using the expression:

var w = thisComp.width;
var h = thisComp.height;
var w2 = w / 2;
var h2 = h / 2 +50;
[w2, h2]


I am still new to After Effects expressions and again thanks for the help.

//for animation in position on axis y
ease (time, inPoint + 1, inPoint + 3, [sourceRectAtTime (). bottom], [sourceRectAtTime (). top]);

//to centralize
var w = thisComp.width;
var h = thisComp.height;
var w2 = w / 2;
var h2 = h / 2 +50;
[w2, h2]


Return to posts index

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