-
Text Bounce Preset…Change Bounce from Y to Z position?
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