Forum Replies Created

  • Bartholomé Enake

    February 27, 2018 at 9:16 am in reply to: Position increment

    It works perfectly !
    Thank you Dan !

  • Bartholomé Enake

    February 23, 2018 at 8:53 am in reply to: Position increment

    Thank you for your answer.
    But how does this make my first expression work while it is based exactly on the same system.
    I even try to transform the expression of the position so that it is based on the ball and not on the meter but it doesn’t work either.

    Here is the code :

    pY = effect("Nombres")("Position")[1];
    balle = thisComp.layer("Balle");
    marche = -1;

    for (i = 0; i <= timeToFrames(time); i++)
    {
    if (balle.transform.position.valueAtTime(framesToTime(i))[0]<=250)
    { pY = effect("Nombres")("Position").valueAtTime(framesToTime(i))[1] + marche ;
    }

    }
    [value[0],pY]

    Is there not a way to do what I want differently ?

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