Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects 3D Null into 2D coordinates

  • 3D Null into 2D coordinates

    Posted by Anthony Dupsta on June 7, 2007 at 10:53 pm

    Hey Guys,
    I am looking to use the data of a 3D null that was exported from a 3D app. And use that data on a 2d coordinate for something like a lens flare.
    So I have all my imported nulls and an AE comp setup. I just need to somehow parent the imported 3d null data xyz onto a 2d xy effect.
    Make since?

    How would you go about doing this?

    Anthony Dupsta replied 18 years, 11 months ago 3 Members · 3 Replies
  • 3 Replies
  • Brendan Coots

    June 8, 2007 at 12:43 am

    Position properties like this are stored in an array formatted as position[0], position[1] and position[2]. You can apply a basic expression to your 2D effect’s X and Y properties to link them to the null’s X and Y values. The nice thing is that it’s much easier than it sounds.

    On the timeline Alt+click the stopwatch icon for the X value of your 2D effect, then enter the following expression:

    thisComp.layer(“Null 1”).position[0]

    For the Y value of the 2D effect, use this expression:

    thisComp.layer(“Null 1”).position[1]

    The above expressions assume your null is named “Null 1” so change that wording accordingly.

  • Mike Clasby

    June 8, 2007 at 1:51 am
  • Anthony Dupsta

    June 8, 2007 at 1:57 am

    yup, that’s the ticket. Thank you.

    Wish pickwip was smarter so I can be dumber.

    Cheers

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