Forum Replies Created

Page 2 of 2
  • ????
    Was just about to answer…Sliding funny 😉

  • Hi Steve,

    thanks for your reply!
    Your set up works great for the “x”-position between A and B. But I was aiming for the “y”-offset. ????
    Maybe you have an idea for that as well. Plus I would prefer to have C not parented, but everything set via expressions. ATM for centering, I use in the position of C:

    p1 = thisComp.layer(“A”).transform.position;
    p2 = thisComp.layer(“B”).transform.position;
    (p1+p2)/2

    …yes, I will add a slider to that later on as well. ????
    In the rotation of C, I use:

    p1 = thisComp.layer(“A”).transform.position;
    p2 = thisComp.layer(“B”).transform.position;
    vec = p2 – p1;
    radiansToDegrees(Math.atan2(vec[1], vec[0]))

    Now, it would be fantastic to add a “y”-offset to the position via a slider, which works in a rotated mode as well.

    Thanks, Lars.

  • Lars Jandel

    March 23, 2017 at 9:51 pm in reply to: How to fill a line graph

    Hi Menno,

    looking at the graph, a workaround came to my mind: The fill could be subdivided in five vertical blocks, a corner pin effect applied to each of them. The two upper corners could be animated / attached to your moving points. Please have look, if that works: This is a manual set up – I guess, some experts could automate it…

    Cheers, Lars.

    11168_ljgraphexperiment.aep.zip

  • Lars Jandel

    March 23, 2017 at 8:14 pm in reply to: If statement doesn’t work in expression

    Couldn’t you use just the “Motion Tile” animation preset and animate the tile center’s x-axis? You could easily put an expression on that property and change the speed.
    Just an idea for a simple solution… ????

    Cheers, Lars.

    x = time*100;
    y = effect("Motion Tile")("Tile Center")[1];
    [x, y]

Page 2 of 2

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