-
Make it Bounce from MotionScript?
Hi Gang!
So I am confused about the Make it Bounce script from MotionScript. Do I need to create a position keyframe for each place where the ball touches the floor?
Or are there only two position key frames for the start and end of trajectory?
He mentions that “I’ve keyframed the movement of the ball across the bottom of the comp.”
Not sure exactly what he meant.The script:
freq = 1.0; //oscillations per second
amplitude = 90;
decay = .5;posCos = Math.abs(Math.cos(freq*time*2*Math.PI));
y = amplitude*posCos/Math.exp(decay*time);
position - [0,y]thanks!
gabi