Forum Replies Created

Page 1 of 2
  • Hey dude, thanks for the reply!

    I was trying to use sourceRectAtTime().left to find the left most edge of the text layer but I can’t tell if its even returning the correct value. I tried sending that value to the source text so that I could see it but the value never changes when I move or otherwise modify the layer.

    Am I using sourceRectAtTime().left wrong?

    W = (sourceRectAtTime().width /1920)*100; /// the width of the object ///
    L = (sourceRectAtTime().left /1920)*100; /// distance to left side ///
    R = (W + L); /// distance to right side ///

    AnimateInTime = thisComp.frameDuration * effect("Animate In+Out - frames")("Fade In Duration (frames)");
    AnimateOutTime = thisComp.frameDuration * effect("Animate In+Out - frames")("Fade Out Duration (frames)");

    AnimateInCompletion = linear(time, inPoint, inPoint+AnimateInTime+0.001, 0, 100);
    AnimateOutCompletion = linear(time, outPoint-AnimateOutTime-0.001, outPoint, 100, 0);

    C = (AnimateInCompletion * AnimateOutCompletion) / 100;

    linear(C, 0, 100, 100, 0);

  • Justin Maloney

    November 20, 2018 at 5:29 pm in reply to: Using pixel data from a target layer to drive scale.

    Awesome! Thanks again Dan!

  • Justin Maloney

    May 25, 2016 at 5:12 pm in reply to: Expression “works” but not as intended.

    Dan, you are a god among animators. That worked perfectly.

    Many thanks!

  • Justin Maloney

    May 25, 2016 at 4:49 pm in reply to: Expression “works” but not as intended.

    Skelotor Mode just brings in a wire frame model and turns off all the assets. I really need to keep this in so the other animators can work with this character rig at a steady pace.

    Any condition where “x” == 1 should set opacity to o%

    This expression is working better then what I had. Thanks man. I’ll keep tinkering!

  • Justin Maloney

    May 25, 2016 at 4:21 pm in reply to: Expression “works” but not as intended.

    Nope! Nevermind, doesn’t work. God damn, sorry for premature replies…

  • Justin Maloney

    May 25, 2016 at 4:20 pm in reply to: Expression “works” but not as intended.

    Figured it out. Removed the multiple “else if’s” and moved the position conditional to the bottom. It looks like this…

    x = thisComp.layer(“OPTIONS”).effect(“Skelotor Mode”)(“Checkbox”);
    b = thisComp.layer(“Body Turn”).transform.xPosition;
    f = thisComp.layer(“C_L hand”).effect(“Force in Back L”)(“Checkbox”);
    v = value;

    if (x == 0) v = 100;
    if (f ==1) v = 100;
    if (b < -10) v =100;
    else v = 0;

    Better question: I’ve tried arrays before, but I can’t wrap my head around all the time. Would an array be better for expressions like this one?

  • Justin Maloney

    May 25, 2016 at 4:10 pm in reply to: Expression “works” but not as intended.

    Sorry, basically the problem is that the opacity for the layer remains fixed at 100, or if I reverse the values and end with “else if v = 100” it remains fixed at 0.

    Also the first if is supposed to be “if (b < -10) v = 100;”

  • Justin Maloney

    January 15, 2016 at 5:59 pm in reply to: Scrubing through time with a position value.

    Well I’m feeling kinda stupid. That actually helped alot. I tried using framesToTime in front of my linear expression too. It helped a little. I’m still wondering if there is a more precise method but these are working for me now.

    Thanks Dan!

    x = comp("99_RENAME_ME").layer("Facial Control").transform.position[0]
    framesToTime(linear(x,-600,600,15,315))

  • Justin Maloney

    June 3, 2015 at 7:19 pm in reply to: If, or, & and, Statements

    Thanks! That’s alot better.

  • Justin Maloney

    April 22, 2015 at 3:37 pm in reply to: Keep a layer from rendering.

    Wow, I’m feelin pretty stupid right about now…

    Thanks though =]

Page 1 of 2

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