-
decaying bounce off imaginary wall
I have a verticle thin line with its anchor point set at the top of the viewable composition. what I am trying to attain is to have it rotate into its virticle position with a decaying bounce off an imaginary wall. Any help? So far I have this expression applied but it swings through the imaginary wall.
veloc = -50
amplitude = -90
decay = 4;
y = amplitude*Math.cos(veloc*time)/Math.exp(decay*time);
value + y