-
Ease expression works unnaturally.
Hello, there!
I have a question about after effects’ Expression.
Next is the code for Solid2’s Y position.
The X position is fixed at 450.
var y3 = [600,200,600,200,600,200,600,200,600,200]
var sec = Math.floor(time);
var kk = ease(time,sec,sec+2,y3[sec],y3[sec+1]);
[450,kk]Solid2 moves unnaturally.
I want solid2 to move smoothly for two seconds.(or few seconds..)
What should I do?
The below code operates smoothly.
var y3 = [600,200,600,200,600,200,600,200,600,200]
var sec = Math.floor(time);
var kk = ease(time,sec,sec+1,y3[sec],y3[sec+1]);
[450,kk]Thank you!
var y3 = [600,200,600,200,600,200,600,200,600,200]
var sec = Math.floor(time);
var kk = ease(time,sec,sec+2,y3[sec],y3[sec+1]);
[450,kk]