🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.after.effects.expressions
Article #352

Re: Extrapolated null position based on two tracked points

#352
From: Dan_Ebberts
Date: Mon, 16 Mar 2009 13:38
8 lines
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!webcrossing
References: <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