SIGN IN
::
SPONSORS
::
ADVERTISING
::
ABOUT US
::
CONTACT US
FORUMS
TUTORIALS
MAGAZINE
STOCKYARD
VIDEOS
PODCASTS
EVENTS
SERVICES
NEWSLETTER
NEWS
BLOGS
ADOBE AFTER EFFECTS:
Home
Forum
Basics
Expressions
Tutorials
Podcasts
AE Techniques
Training
Creative Cloud Debate
FAQ
Re: Reverse X and Y coordinates for puppet pin motion
COW Forums
:
Adobe After Effects Expressions
FAQ
•
VIEW ALL
•
ADD A NEW POST
•
PRINT
Respond to this post
•
Return to posts index
•
Read entire thread
Re: Reverse X and Y coordinates for puppet pin motion
by
Tony Caver
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 Index
Read Thread
Reply
Like
Current Message Thread:
Reverse X and Y coordinates for puppet pin motion
by Tony Caver on Aug 3, 2012 at 10:36:03 pm
Re: Reverse X and Y coordinates for puppet pin motion
by Dan Ebberts on Aug 3, 2012 at 11:29:07 pm
Re: Reverse X and Y coordinates for puppet pin motion
by Tony Caver on Aug 4, 2012 at 1:34:04 am
Re: Reverse X and Y coordinates for puppet pin motion
by Dan Ebberts on Aug 4, 2012 at 5:10:33 am
LOGIN TO REPLY
FORUMS
•
TUTORIALS
•
MAGAZINE
•
STOCKYARD
•
VIDEOS
•
PODCASTS
•
EVENTS
•
SERVICES
•
NEWSLETTER
•
NEWS
•
BLOGS
© 2013
CreativeCOW.net
All rights are reserved. -
Privacy Policy
[
Top
]