Creative Communities of the World Forums

The peer to peer support community for media production professionals.

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 pm

    Using 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 pm

    I haven’t tested this but give it a try:

    L = thisComp.layer(‘3DNull’);
    p = L.toComp([0,0,0]);
    [value[0],p[1]]

    Dan

  • Navarro Parker

    February 8, 2017 at 11:49 pm

    Yup! That did the trick! Thank you, Dan!

Viewing 1 - 3 of 3 posts

Log in to reply.

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