Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects positioning a video between 2 null objects

  • positioning a video between 2 null objects

    Posted by Jonachan Chainy on January 29, 2017 at 12:32 am

    it says it all right there ^^^ but here’s some more details.

    i needed lines to shoot around a tracked area, and found a video of this:
    https://www.youtube.com/watch?v=hnKQnl09_BA
    (not a link)

    so, i tried it, and had some trouble because i need to do the same thing, but without the beam effect because i have my own mp4 file of an animated line.
    how do i use tracking, null objects, and expressions do do this?

    thanks for the quick response
    (im still at an introduction level for expressions, so take it easy, but am experienced with everything else, like basic compositions, tracking, utilizing parenting, etc…)

    -jon

    Some contents or functionalities here are not available due to your cookie preferences!

    This happens because the functionality/content marked as “Google Youtube” uses cookies that you choosed to keep disabled. In order to view this content or use this functionality, please enable cookies: click here to open your cookie preferences.

    Jonachan Chainy replied 9 years, 3 months ago 2 Members · 2 Replies
  • 2 Replies
  • Emre Anil

    January 30, 2017 at 11:20 am

    If you just need the center point of 2 Null Objects:


    n1 = thisComp.layer("Null 1").transform.position;
    n2 = thisComp.layer("Null 2").transform.position;
    pX = (n1[0] + n2[0]) / 2;
    pY = (n1[1] + n2[1]) / 2;
    [pX, pY]

  • Jonachan Chainy

    January 30, 2017 at 11:00 pm

    that did the job, thanks.

    -jon

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