Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Track movement between two objects

  • Track movement between two objects

    Posted by Olivier Aubut on January 30, 2013 at 3:31 pm

    I’m not sure if I’m using the right tools for this but here it goes.

    I’m trying to animate an object in the middle of two individual trackers.

    I managed to animate the object in relation to one hand but I’d like to have the object between the two hands at all time.

    I tried searching for expressions but I’m a novice when it comes to that.

    Anybody has a solution for this, it would be greatly appreciated.

    I’m using AE CS5 and Mocha AE 2.6.2

    Roland R. kahlenberg replied 13 years, 3 months ago 3 Members · 5 Replies
  • 5 Replies
  • Cassius Marques

    January 30, 2013 at 3:57 pm

    Hi Olivier, you can pull that up with expressions and some math calculating the average position between both your null’s…

    But it’s essentialy what this script can do. And since it’s name your own price, check it out.

  • Roland R. kahlenberg

    January 30, 2013 at 3:59 pm

    An Expressions Script like the one below should do the trick –

    A= thisComp.layer("Null 2").transform.position;
    B= thisComp.layer("Null 1").transform.position;
    (A+B)/2

    You will of course need to change the names of the Nulls that contain your tracked points.

    HTH
    RoRK

    Intensive mocha & AE Training in Singapore and Other Dangerous Locations

    Imagineer Systems (mocha) Certified Instructor
    & Adobe After Effects ACE/ACI (version 7)

  • Olivier Aubut

    January 30, 2013 at 4:02 pm

    Exactly what I was looking for.
    Man I need to learn expressions.

    Thank you so much!

    Olivier

  • Olivier Aubut

    January 30, 2013 at 8:33 pm

    Sure, but it’s way more impressive to see it move, scale and rotate based on the hands’ positions.

    I’m pretty impressed by the result.

    Thanks for you input Dave.

  • Roland R. kahlenberg

    January 31, 2013 at 6:36 am

    [Dave LaRonde] “Actually, something like that wouldn’t be hard at all to get right just by animating that energy ball’s position.

    It’s still best to track and then manually offset the final result if the objective is obtain a more organic look-feel-movement. Otherwise, lots of issues relating to visual dissonance are apt to occur if such a task is executed, manually.

    Cheers
    RoRK

    Intensive mocha & AE Training in Singapore and Other Dangerous Locations

    Imagineer Systems (mocha) Certified Instructor
    & Adobe After Effects ACE/ACI (version 7)

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