Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Tracking data to flare centre

  • Tracking data to flare centre

    Posted by Alex Dinnin on May 13, 2009 at 12:59 pm

    I have tracked some footage.. and have applied the data to a null..

    I also have a lens flare out of frame..

    what I want to do is add an expression to the flare centre so when the null moves it moves accordingly..

    however obviously when you pick whip the nulls position the flare centre moves to the tracking point..

    I’m guessing this has something to do with position + value..

    but I’m a bit stuck !!!

    any ideas anyone

    Alex

    Dan Ebberts replied 17 years, 2 months ago 2 Members · 1 Reply
  • 1 Reply
  • Dan Ebberts

    May 13, 2009 at 1:43 pm

    Like this:

    P = thisComp.layer(“Null 1”).transform.position;
    P – P.valueAtTime(0) + value

    Dan

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