ADOBE AFTER EFFECTS: Forum Expressions Tutorials Podcasts Creative Cloud

Text Inertia

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
cesar smithText Inertia
by on Apr 26, 2013 at 2:45:19 am

How can I make my text slide from right to left and then it stops and shakes left right alot to a little, thanks

Return to posts index

Joseph W. BourkeRe: Text Inertia
by on Apr 26, 2013 at 3:10:33 am can either keyframe it by hand, or purchase a script which does the job:

You could also do it with expressions:

Joe Bourke
Owner/Creative Director
Bourke Media

Return to posts index

Cassius MarquesRe: Text Inertia
by on Apr 26, 2013 at 12:52:18 pm

or paste the following code into your position expression (you can change the "5's" in each parameter to change the effect's behavior). Then animate two keyframes.

amorti = 5;
freq = 5;

if (numKeys > 1 && freq != 0 ){
if (nearestKey(time).index == 1) { value }
else {

if (length(velocity) == 0) {

tempsClefProx = nearestKey(time).time;

if ( tempsClefProx <= time ) { tempsDebut = tempsClefProx }
else { tempsDebut = key(nearestKey(time).index-1).time }

temps = time - tempsDebut;

spring = velocityAtTime(tempsDebut-thisComp.frameDuration) * ( .15/freq * Math.sin(freq * temps * 2 * Math.PI) / Math.exp( temps * amorti ) );

valueAtTime(tempsDebut) + spring;

else { value }
else { value }

Return to posts index

cesar smithRe: Text Inertia
by on Apr 26, 2013 at 2:25:30 pm

How do I use expressions?///

Return to posts index

Ridley WalkerRe: Text Inertia
by on Apr 26, 2013 at 3:34:52 pm

You can download this preset which applies the expression automatically:

Be sure to watch the video tutorial first so you can see how it is used.

The expression above is from this preset, notice that the variable names are in French (eg: tempsDebut for start time), the language of its author Mathias Peresini aka Mattrunks.

Return to posts index

Cassius MarquesRe: Text Inertia
by on Apr 26, 2013 at 5:05:21 pm

You can alt click the stopwatch simbol in the selected property to enable them. You can then later save that animation as a preset so you can apply it like you would apply an effect...

keep in mind that the same code there works as well with scale.

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2016 All Rights Reserved