Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Expression for linking 2 of 3 (X,Y,Z). I need to link Y and Z but not X.

  • Kevin Camp

    March 14, 2011 at 4:24 pm

    i just read through my description of the expression, and i should have mentioned that the maxD value would be where the minO value is reached, and the minD value is where the maxO would be reached…

    you probably figured that out, but the variable naming i used made it a little misleading….

    however, for the blur expression, maxD is the distance that the maxB value is used for blurring (and minD is the distance that the minB is used).

    Kevin Camp
    Senior Designer
    KCPQ, KMYQ & KRCW

  • Jason Moore

    March 17, 2011 at 9:51 pm

    Thanks a ton for your help Kevin. Here’s the final piece using the expressions you provided. I couldn’t have done it without you!

    https://vimeo.com/21172426

    Jason

    Jason Moore
    Midnight Oil Productions
    http://www.midnightoilproductions.com

    Some contents or functionalities here are not available due to your cookie preferences!

    This happens because the functionality/content marked as “Vimeo framework” uses cookies that you choosed to keep disabled. In order to view this content or use this functionality, please enable cookies: click here to open your cookie preferences.

  • Sara Jean

    June 19, 2015 at 5:21 pm

    Hey Kevin,

    I just found your expression and I’m wondering if/how I could get it to work with VC Reflect? I’m trying to get my refection to stay on the floor as my object moves up in space. Is there any way to apply this same expression to the VC Reflect floor position? It didn’t work when I tried it but I’m wondering if it’s a simple tweak to the expression (not supper great with code over here:).

    Thanks so much!

    Sara

    target = thisComp.layer('3d object'); // this should be your layer to track

    x = target.position[0];

    y = value[1];

    z = target.position[2];

    [x,y,z]

Page 2 of 2

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