Forum Replies Created

  • Dan Smith

    December 14, 2019 at 7:46 am in reply to: Use ease() expression with for loops

    Thanx to all. I try to use these variants.

  • Dan Smith

    December 13, 2019 at 7:37 pm in reply to: Use ease() expression with for loops

    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]

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy