Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Text Bounce Preset…Change Bounce from Y to Z position?

  • Text Bounce Preset…Change Bounce from Y to Z position?

    Posted by Ej Hassenfratz on January 20, 2010 at 4:19 pm

    Forgive me if this is posted elsewhere but I could not find an answer in previous threads.

    I noticed there is a Text Bounce animation preset in the Expressions folder in the Effects & Presets menu in After Effects. It does exactly what I want aside from the fact that it bounces from a Y position down to another Y position. Movement looks great but I’m trying to figure out if there is a way to alter this expression so that it doesn’t move in Y value space but in Z value space.

    Don’t know if it’s as simple as changing the current expression or what, but here is the expression that is in the preset:

    —————————–

    f = effect(“Bounce Frequency”)(1);

    // 0 means start at bottom, 1 means start at stop
    phase_start = effect(“Bounce Start”)(1) / 100;

    character_delay_param = effect(“Bounce Per-Character Delay”)(1).value;
    character_delay_index = textIndex – 1;
    if (character_delay_param < 0) { character_delay_param = -character_delay_param ; character_delay_index = (textTotal - textIndex); } character_delay = character_delay_param * character_delay_index; t = time * f - character_delay; if (t < 0) { t = 0; } t += phase_start; w = 2; bounce_num = Math.floor(t / w); t = t % w; y = t * (w - t); decay = effect("Bounce Decay")(1) / 100; h = Math.pow(decay, bounce_num); -h + h*y * selectorValue ------------------------------- Now I know in certain expressions, (1) usually means the Y position where x,y,z is (0),(1),(2). But I tried changing all the (1) to (2) and it's giving me an error. Any help would be appreciated! -------------------------- ej.hassenfratz senior.graphic.designer wjla-nc8/eyedesyn.com washington.dc

    Ej Hassenfratz replied 16 years, 6 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    January 20, 2010 at 5:02 pm

    You don’t need to change the expression. Just go into the Animator > Add menu, and turn on Enable Per-character 3D. Then change the Expression Selector 1 > Position value from 0.0,-320.0,0.0 to 0.0,0.0,320.0.

    Dan

  • Ej Hassenfratz

    January 20, 2010 at 10:11 pm

    Knew it was something simple!

    Thanks so much, Dan!

    ————————–

    ej.hassenfratz
    senior.graphic.designer
    wjla-nc8/eyedesyn.com
    washington.dc

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy