Mar 20, 2010 8:10 AM
Animation from random position to specific
-
Like (0)
Hi all,
I want to distribute multiple layers in Z axis and on specific time to animate them at '0' point. I've managed to distribute them randomly and place them at '0' point in a given time, but with no animation.. it just 'jumps' to '0' point. This is what i've used:
seedRandom(18, true);
z= random (400,-400);
if (time > 12) z=0;
[z]
I know i'm missing something.. any hints?
Thanks ![]()
Like this maybe?
moveStart = 12;
moveDuration = 1;
seedRandom(18, true);
z = linear(time,moveStart,moveStart+moveDuration, random (400,-400),0);
[value[0],value[1],z]
Dan
Thanks Dan !
I was just reading about 'linear' and 'ease' expressions and trying to figure them out...
Thanks again for the fast and to-the-point answer ![]()
Copyright © 2011 Adobe Systems Incorporated. All rights reserved.
Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy (updated 07-14-2009).