ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

string of objects to follow a psuedo Bezier

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Juan Hernandezstring of objects to follow a psuedo Bezier
by on Oct 31, 2011 at 7:30:53 pm

Hi all,

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

http://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.


Return to posts index

Juan HernandezRe: string of objects to follow a psuedo Bezier
by on Oct 31, 2011 at 8:32:27 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.


Return to posts index

Juan HernandezRe: string of objects to follow a psuedo Bezier
by on Oct 31, 2011 at 9:42:35 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.


Return to posts index


Dan EbbertsRe: string of objects to follow a psuedo Bezier
by on Oct 31, 2011 at 11:10:55 pm

What do you need help with?

Dan



Return to posts index

Brian CharlesRe: string of objects to follow a psuedo Bezier
by on Oct 31, 2011 at 11:12:40 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



Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]