Forums › Adobe After Effects Expressions › 3D Null .toComp – Y axis only?
-
3D Null .toComp – Y axis only?
-
Navarro Parker
February 3, 2017 at 7:54 pmUsing the usual expression to get 2D position from a 3D layer:
L = thisComp.layer(‘3DNull’);
L.toComp([0,0,0]);What if I only wanted the Y position of the 2D layer to track the 3D layer?
-
Dan Ebberts
February 3, 2017 at 8:18 pmI haven’t tested this but give it a try:
L = thisComp.layer(‘3DNull’);
p = L.toComp([0,0,0]);
[value[0],p[1]]Dan
Viewing 1 - 3 of 3 posts
Log in to reply.