this_point=position; that_point=this_comp.layer("aquinombre").position; // what to point at delta=sub(this_point, that_point); angle=Math.atan2(delta[1], delta[0]); radians_to_degrees(angle)-90; // Jumpy Wiggle 1 (moves at a random FPS) v=wiggle(5,50); if(v < 50)v=0; if(v > 50)v=100; v --------------------------------------------------------------------------------------- // Jumpy Wiggle 2 (moves at a defined FPS) fps=5; //frequency amount=50; //amplitude wiggle(fps,amount,octaves = 1, amp_mult = 0.5,(Math.round(time*fps))/fps); ------------------------------------------------------------------------------------------------- // Inertial Bounce (moves settle into place after bouncing around a little) n = 0; if (numKeys > 0){ n = nearestKey(time).index; if (key(n).time > time){ n--; } } if (n == 0){ t = 0; }else{ t = time - key(n).time; } if (n > 0){ v = velocityAtTime(key(n).time - thisComp.frameDuration/10); amp = .05; freq = 4.0; decay = 2.0; val...
Comentarios
Publicar un comentario