Easing function for whole animation

https://playground.babylonjs.com/#8ZNVGR#83
I have a bezierTorus animation with three keyframes. After I set the easing function, it goes straight with speed up and slow, and then goes straight with speed up and slow. Is it possible for the whole animation, speed up and then slow?

    keysBezierTorus.push({ frame: 0, value: bezierTorus.position });
    keysBezierTorus.push({ frame: 120, value: bezierTorus.position.add(new BABYLON.Vector3(-40, 0, 0)) });
    keysBezierTorus.push({ frame: 240, value: bezierTorus.position.add(new BABYLON.Vector3(-80, 0, 0)) });
1 Like

Hey you can actually use the Animation Curve Editor for that:
Unleash your animations with ACE. ACE stands for Animation Curve Editor… | by Babylon.js | Medium