Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects middle null object expression?>

  • Walter Soyka

    November 24, 2017 at 4:03 pm

    You just need the average of the two points. Something like this will work as an expression on the position property of a null layer (modify layer/tracker names as necessary to suit your comp):

    p1 = thisComp.layer("TRACK_LAYER").motionTracker("Tracker 1")("Track Point 1").attachPoint;
    p2 = thisComp.layer("TRACK_LAYER").motionTracker("Tracker 1")("Track Point 2").attachPoint;

    (p1+p2)/2

    Walter Soyka
    Designer & Mad Scientist at Keen Live [link]
    Motion Graphics, Widescreen Events, Presentation Design, and Consulting
    @keenlive   |   RenderBreak [blog]   |   Profile [LinkedIn]

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