-
Modifying Dan Ebberts’ Leaf Falling Expression
Hi, I’m new to After Effects and this is the first expression I’ve tried using. I’m trying to have some photos float down and I found this on expression on Google. However. this makes the photos float from top to bottom. I want it as though it was a bird’s eye view. Basically the background is a table and the pictures are falling from above, floating through the air and finally resting on the surface.
I’ve made all the layers 3D and I’ve tried playing around with their orientation but I can’t get it to work. I thought that perhaps changing “yVelocity” to “zVelocity” might do the trick but it doesn’t.
Any help is much appreciated 🙂
https://www.aenhancers.com/viewtopic.php?t=8
POSITION:yVelocity = 200; //pixels per second
oscFreq = 1.5; //oscillations per second
oscDepth = 35; //oscillation depth (pixels)
drift = 25; // drift (wind?) (pixels per second: - = left, + = right)value + [oscDepth*Math.sin(oscFreq*Math.PI*2*time) + drift *time,
yVelocity*time,0]Z ROTATION:
seed_random(index,true);
random(360);Y ROTATION:
oscFreq = 1.5;
maxTilt = 15; //degreesmaxTilt*Math.cos(oscFreq*Math.PI*2*time)