Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects string of objects to follow a psuedo Bezier

  • string of objects to follow a psuedo Bezier

    Posted by Juan Hernandez on October 31, 2011 at 7:30 pm

    Hi all,

    I am having a touch of a hard time figuring out Dan’s awesome tutorial:

    https://www.motionscript.com/expressions-lab-ae65/bezier.html

    I am trying to pull this off only the test scenes of the solids are not following nulls as I imagined. Has anyone did this before where they might want to share their AE scene for me dissect?

    What I did was made a solid and under the position, I pasted the expressions Dan shared.
    Nothing happened as mentioned in the tutorial and no immediate gratification was established once I pasted the expression as instructed.

    Thanks for any who help out.

    -J.

    Brian Charles replied 14 years, 6 months ago 3 Members · 4 Replies
  • 4 Replies
  • Juan Hernandez

    October 31, 2011 at 8:32 pm

    Okay I think I got it…but I’d like to get help with the slider bit of the tutorial…THIS IS SUCH A COOL SETUP!

    THank you DAN!

    And thanks for those that help in response.

    J.

  • Juan Hernandez

    October 31, 2011 at 9:42 pm

    Okay I think I got it…but I’d like to get help with the slider bit of the tutorial…THIS IS SUCH A COOL SETUP!

    THank you DAN!

    And thanks for those that help.

  • Dan Ebberts

    October 31, 2011 at 11:10 pm

    What do you need help with?

    Dan

  • Brian Charles

    October 31, 2011 at 11:12 pm

    After adding the slider expression control to Null 1 the modification the script should read:

    N1 = thisComp.layer(“Null 1”);
    N2 = thisComp.layer(“Null 2”);
    N3 = thisComp.layer(“Null 3”);
    N4 = thisComp.layer(“Null 4”);

    p0 = N1.position;
    p1 = N2.toWorld(N2.anchorPoint);
    p2 = N3.toWorld(N3.anchorPoint);
    p3 = N4.position;

    c = 3*(p1 – p0);
    b = 3*(p2 – p1) – c;
    a = p3 – p0 – c – b;

    t0 = index/(thisComp.numLayers – 3);
    s = N1.effect(“Slider Control”).param(“Slider”);
    if(s < 0){
    s += 1;
    t = t0*s;
    }else{
    t = s + t0 – s*t0;
    }((a*t +b )*t + c)*t + p0

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