Creative COW SIGN IN :: SPONSORS :: ADVERTISING :: ABOUT US :: CONTACT US
Creative COW's LinkedIn GroupCreative COW's Facebook PageCreative COW on TwitterCreative COW's Google+ PageCreative COW on YouTube
ADOBE AFTER EFFECTS:HomeForumBasicsExpressionsTutorialsPodcastsAE TechniquesTrainingCreative Cloud DebateFAQ

Re: Reverse X and Y coordinates for puppet pin motion

COW Forums : Adobe After Effects Expressions

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Share on Facebook
Respond to this post   •   Return to posts index   •   Read entire thread


Tony CaverRe: Reverse X and Y coordinates for puppet pin motion
by on Aug 4, 2012 at 1:34:04 am

I tried your code on my null but the puppet pin still had Y and X movement. My source (which also has the pins and motion data) has
this:l = thisComp.layer("Null_1"); fromWorld(l.toWorld(l.anchorPoint));

My null has this:
L = thisComp.layer("Tracker-and-Pins");
M = L.motionTracker("Tracker 1")("Track Point 1");
P = fromWorld(L.toWorld(M.attachPoint*-1 ) + M.attachPointOffset)
L2 = thisComp.layer("Null_1");
x = (L2.position-L2.position.valueAtTime(L2.inPoint))[1];
P + [x,0]


Is there a way to do this?
Actual_X=[0] //X data variable
Actual_Y=[1] //Y data variable

Position=[Actual_Y, 0] //put the y data into the x dimension.


Posts IndexRead Thread
Reply   Like  
Share on Facebook


Current Message Thread:




LOGIN TO REPLY



FORUMSTUTORIALSMAGAZINESTOCKYARDVIDEOSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

Creative COW LinkedIn Group Creative COW Facebook Page Creative COW on Twitter
© 2013 CreativeCOW.net All rights are reserved. - Privacy Policy

[Top]