Do you want to add the values together so that you get both motions with your controller, the horizontal motion with the x value plus the arched vertical motion with the y value combined at the same time? So as to control this animation completely with the controller, ignoring actual timeline time altogether?
If that’s the aim, you could do it like this. In this implementation the keyframes are exactly at 0,1,2 and 3 seconds and there’s a layer named “controller” with a 3D point controller on it. This adds the two motions together. 0-100 range for both x and y animations.
controller = thisComp.layer("controller").effect("3D Point Control")("3D Point");
c_x = controller[0];
c_y = controller[1];
t1 = linear(c_x,0,100,0,1);
t2 = linear(c_y,0,100,2,3);
pos1 = transform.position.valueAtTime(t1);
pos2 = transform.position.valueAtTime(t2)-transform.position.valueAtTime(2);
pos = pos1+pos2;
Kalleheikki Kannisto
Senior Graphic Designer