Forum Replies Created

Page 31 of 597
  • Kevin Camp

    September 19, 2017 at 11:09 pm in reply to: Multiple IF statements syntax question

    i think you want to use else if… but you’re also missing some semicolons at the end of each line.

    if (comp("ObjectControl").layer("Control").effect("Direction")("Slider")==1) horiz=3050;
    else if (comp("ObjectControl").layer("Control").effect("Direction")("Slider")==3) horiz=-3050;
    else if (comp("ObjectControl").layer("Control").effect("Direction")("Slider")==2) vert=2550;
    else if (comp("ObjectControl").layer("Control").effect("Direction")("Slider")==4) vert=-2550;
    else{
    horiz=0;
    vert=0;
    }

    [easeOut(time,inPoint,inPoint+1, value[0]+horiz, value[0]),ease(time,inPoint,inPoint+1,value[1]+vert,value[1])]

    Kevin Camp
    Art Director
    KCPQ, KZJO & KRCW

  • Kevin Camp

    September 18, 2017 at 9:23 pm in reply to: AE paths to animate illustrator brush strokes…

    You can also get AI vectors to AE shape layers by importing the IA file, dropping it into a comp and choosing layer>create shapes from vector layer… though i’m not sure that helps you out much here…

    Kevin Camp
    Art Director
    KCPQ, KZJO & KRCW

  • Kevin Camp

    September 18, 2017 at 9:14 pm in reply to: AE paths to animate illustrator brush strokes…

    I don’t think you can get AE shape layers into AI….

    You can get AE mask paths into AI via copy/paste (and the other way around too)… You can’t use trim paths on a mask path, but you can use the stroke effect on mask paths, so you might be able to use stroke as an animated matte to reveal the AI brush artwork.

    Kevin Camp
    Art Director
    KCPQ, KZJO & KRCW

  • Kevin Camp

    September 18, 2017 at 7:22 pm in reply to: Seamless animation question

    you can also try the offset effect (probably as an adjustment layer as Cassisus mentions)… simply animate the offset position, as the pixels go offscreen to the right, they will appear on the left.

    Kevin Camp
    Art Director
    KCPQ, KZJO & KRCW

  • Kevin Camp

    September 12, 2017 at 9:56 pm in reply to: Animating Eyebrows

    i just tested this out with eyebrows that were parented to a face and it seems to work for me…

    here’s the new expression:
    target = thisComp.layer("Null 1");
    p = target.position - toComp( anchorPoint );
    radiansToDegrees( Math.atan2( p[1], p[0] ) ) + value;

    Kevin Camp
    Art Director
    KCPQ, KZJO & KRCW

  • Kevin Camp

    September 12, 2017 at 9:50 pm in reply to: Animating Eyebrows

    There may be some parenting issue… it sounds ike you have a solution, but let me know if you want to continue troubleshooting the expression. it might help me if you could send a screen shot of your timeline showing the eyebrow layers and the parenting column.

    if you just wanted to see how it should work, simply create a rectangular solid that is about the size of one of the eyebrows, add the expression and see if it tracks the null you currently have.

    Kevin Camp
    Art Director
    KCPQ, KZJO & KRCW

  • Kevin Camp

    September 11, 2017 at 8:43 pm in reply to: Animating Eyebrows

    it could be that your eyebrows already have an angle other than 0, or parenting is messing with the math… try changing the last line to this:
    radiansToDegrees( Math.atan2( p[1], p[0] ) ) + value;
    it should add any current angle value to the calculated value… it will also allow you to fine tune the angle by simple dragging the rotation value to get it to line up correctly.

    Kevin Camp
    Art Director
    KCPQ, KZJO & KRCW

  • Kevin Camp

    September 11, 2017 at 6:15 pm in reply to: Animating Eyebrows

    you would do it with expressions….

    select the rotation property of one of your eyebrows and choose animation>add expression.

    then add this expression to the expression field:
    target = thisComp.layer("Null 1");
    p = target.position - position;
    radiansToDegrees( Math.atan2( p[1], p[0] ) );

    change the name of the null (in the example “Null 1”) to the name of your null you want the eyebrows to track.

    assuming that the eyebrow’s anchor point is positioned near the cuter of the eyebrow, as you move the null, the eyebrow should track its movement.

    right-click the rotation property of that eyebrow and choose copy expression only. then select the other eyebrow and choose paste.

    both eyebrows should track the null’s position.

    Kevin Camp
    Art Director
    KCPQ, KZJO & KRCW

  • Kevin Camp

    September 6, 2017 at 10:26 pm in reply to: Controlling Source Text with checkbox controller

    yes, you just need to specify which comp and layer that the checkbox is in:

    check = comp("Comp 1").layer("Null 1").effect("Checkbox Control")("Checkbox");
    if ( check == true ) "some text" else "other text";

    change “Comp 1” and “Null 1” to be the comp name and layer name that has the checkbox control.

    Kevin Camp
    Art Director
    KCPQ, KZJO & KRCW

  • Kevin Camp

    September 6, 2017 at 5:51 pm in reply to: Automatically compress and morph/shrink text

    you can do it with later versions of creative cloud versions of ae… adobe added a sourceRectAtTime() expression function that can determinate the size of a text layer that can then be used to create a ‘shrink-to-fit’ expression to scale text layer to fit a maximum size.

    Kevin Camp
    Art Director
    KCPQ, KZJO & KRCW

Page 31 of 597

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