Article View: adobe.after.effects.expressions
Article #352Re: Extrapolated null position based on two tracked points
From: Dan_Ebberts
Date: Mon, 16 Mar 2009 13:38
Date: Mon, 16 Mar 2009 13:38
8 lines
962 bytes
962 bytes
You can simplify the math a little if you keep everything as vectors:
slider = effect("Slider Control")("Slider");
T1 = thisComp.layer("your_track_layer").motionTracker("Tracker 1")("Track Point 1").attachPoint;
T2 = thisComp.layer("your_track_layer").motionTracker("Tracker 1")("Track Point 2").attachPoint;
T1 + normalize(T1-T2)*slider
Dan
Technical Details
Message-ID:
<59b83413.1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossingReferences:
<59b83413.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f450a,8289c34e1021f61d X-Google-Attributes: gidf450a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Dan_Ebberts@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.after.effects.expressions Subject: Re: Extrapolated null position based on two tracked points Message-ID: <59b83413.1@webcrossing.la2eafNXanI> Date: Mon, 16 Mar 2009 06:38:42 -0700 References: <59b83413.-1@webcrossing.la2eafNXanI> Lines: 10 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit