在MAD中实现滚动的小球(表达式做法)

2008-04-20 03:55:09

来自:pklala12,在AE中实现小球的滚动效果,MAD中比较常见:

MAD中小球滚动特效

X轴打关键帧,表达式如下:

x=transform.position[0];
y=transform.position[1];
decay=.3;
if(Math.sin(time*5)<0)
y=y*Math.sin(time*5)/Math.exp(decay*time);
else
y=-y*Math.sin(time*5)/Math.exp(decay*time);
[x,y]+value

这是什么?