Falling element stop a specific position


i found expression here make object fall starting point simulating gravity:

 

seedrandom(index,true)

 

mgravbase=9.81; //basic gravity

mgravvar=random(-1,1); //gravity variation

 

maccel=time*(mgravbase+mgravvar);

 

x=value[0];

y=value[1]+math.pow(maccel,2);

 

 

[x,y]

 

but make object fall forever, how can set last position of animation , make stop?

animate hand. why bother expression?

 

mylenium



More discussions in After Effects


adobe

Comments

Popular posts from this blog

Illustrator CS6 Ocurrío un error E/S en el archivo.

Why is os_ViewContainer running?

Animate - problem with duplicating scripts after loop