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.
-
Expression for linking 2 of 3 (X,Y,Z). I need to link Y and Z but not X.
Sara Jean replied 11 years, 1 month ago 3 Members · 13 Replies
-
Kevin Camp
March 14, 2011 at 4:24 pmi 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 pmThanks a ton for your help Kevin. Here’s the final piece using the expressions you provided. I couldn’t have done it without you!
Jason
Jason Moore
Midnight Oil Productions
http://www.midnightoilproductions.comSome 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 pmHey 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 trackx = target.position[0];
y = value[1];
z = target.position[2];
[x,y,z]
Reply to this Discussion! Login or Sign Up