I have some pictures, which I add to the scene and into array.
I have a camera object, which moves from object to object with ease expression and object’s coordinates.
I need to move the camera from the first to the last picture consecutively with ease() or other. For e.x.: from “Name1” to “Name2”, from “Name2” to “Name3” etc. The number of interaction must be equal to the number of pictures.
So I try to use for loop to do it.
How can I do it in another way?
xInPos = thisComp.layer("Name " + i).transform.position[0];
xOutPos = thisComp.layer("Name " + (i+1)).transform.position[0];
x = ease(time, 0, 20, xInPos, xOutPos);
[x, value, value]