ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Track movement between two objects

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Olivier AubutTrack movement between two objects
by on Jan 30, 2013 at 3:31:19 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


Return to posts index

Cassius MarquesRe: Track movement between two objects
by on Jan 30, 2013 at 3:57:59 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.


Return to posts index


Roland R. KahlenbergRe: Track movement between two objects
by on Jan 30, 2013 at 3:59:09 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)


Return to posts index


Olivier AubutRe: Track movement between two objects
by on Jan 30, 2013 at 4:02:32 pm

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

Thank you so much!

Olivier


Return to posts index

Dave LaRondeRe: Track movement between two objects
by on Jan 30, 2013 at 8:12:13 pm

Actually, something like that wouldn't be hard at all to get right just by animating that energy ball's position.

It's not like anybody's going to say, "AHA! It isn't precisely between the two hands!"

It's make-believe.

Dave LaRonde
Former Sr. Promotion Producer
KCRG-TV (ABC) Cedar Rapids, IA


Return to posts index

Olivier AubutRe: Track movement between two objects
by on Jan 30, 2013 at 8:33:11 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.


Return to posts index


Roland R. KahlenbergRe: Track movement between two objects
by on Jan 31, 2013 at 6:36:48 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)


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]