Return-Path: Received: from qmta14.emeryville.ca.mail.comcast.net ([76.96.27.212] verified) by media-motion.tv (CommuniGate Pro SMTP 4.2.10) with ESMTP id 5053841 for ae-list@media-motion.tv; Sun, 28 Apr 2013 22:30:02 +0200 Received: from omta07.emeryville.ca.mail.comcast.net ([76.96.30.59]) by qmta14.emeryville.ca.mail.comcast.net with comcast id VYZC1l0031GXsucAEYeW5w; Sun, 28 Apr 2013 20:38:30 +0000 Received: from HPZ200 ([76.20.32.7]) by omta07.emeryville.ca.mail.comcast.net with comcast id VYeV1l00U09DSM08UYeViG; Sun, 28 Apr 2013 20:38:30 +0000 Message-ID: <1E21E6D63F3C4974AB769335743DA08C@HPZ200> From: "Dan Ebberts" To: "After Effects Mail List" References: In-Reply-To: Subject: Re: [AE] Offset along motion path? Date: Sun, 28 Apr 2013 13:38:28 -0700 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_002D_01CE4415.AAB4F130" X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 15.4.3555.308 X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3555.308 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20121106; t=1367181510; bh=S5hEEMLe7dUeSmFAwxbDCzkRcvaOObmrv+xcEY6VKX0=; h=Received:Received:Message-ID:From:To:Subject:Date:MIME-Version: Content-Type; b=jvXsEim8phNB4s/QlqzKbmQ2AMFw/c8Yy+76Mq11YjCm7KKePyqx+BlpTNYyBD8Oh 7rV003Hce1kVFkjYWtJas0LaYIKkiMHok4TDEBWuFThWTBXu0B5y+3mmumdAKig0pO ieQiy4zp9XI0GVn7XOaYW1UfS//iciTl5kMqGQFE9yG7XCU/4pbTX+BrAqVM5CkUsg NMRRkWwaD8L1yF3rJjNf1tepWwb9rQX3+w5ezu91ur75IqtbYrv+x9NgfNgFJ1GTRb EyOt/mYAkNPYTJuPGk8PbFGaONRb1vPMQRW/Up9TGcrXpAsk2nWNfcLsmSm/NikNqx AZRIWLQVzuCfA== This is a multi-part message in MIME format. ------=_NextPart_000_002D_01CE4415.AAB4F130 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable If you paste the path into a Null=E2=80=99s position, you=E2=80=99ll get = a motion path with a duration of 2 seconds. Then if you have a slider = going from 0 to 100 to represent percentage of travel along the path, = you can you use an expression like this for your triangle: s =3D (your slider value); thisComp.layer(=E2=80=9CNull = 1=E2=80=9D).transform.position.valueAtTime(2*s/100) Something like that. Dan From: Brian Behm=20 Sent: Sunday, April 28, 2013 1:28 PM To: After Effects Mail List=20 Subject: [AE] Offset along motion path? Hey everybody,=20 quick question that's been confounding me. I have a race track = simulation I'm developing for an info graphic and I have two = representative triangles that I want to animate along the path. Because = they're going different speeds, I want to be able to parent them to the = path but not lock them into a specific time so that I can animate the = offset along the path. Sort of like how Trapcode 3D stroke can animate = along a portion of the path.=20 I know I can paste motion paths into After Effects, but that doesn't = solve what I want it to do. Is there a way to constrain motion to a path = without constraining it to a specific time?=20 Brian Brian Behm | Art Director Rooster Teeth Productions 636 Ralph Ablanedo Austin, TX 78748 office 512-480-0336 mobile 512-965-7914 ------=_NextPart_000_002D_01CE4415.AAB4F130 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
If you paste the path into a Null=E2=80=99s position, = you=E2=80=99ll get a motion path with=20 a duration of 2 seconds. Then if you have a slider going from 0 to 100 = to=20 represent percentage of travel along the path, you can you use an = expression=20 like this for your triangle:
 
s =3D (your slider value);
thisComp.layer(=E2=80=9CNull = 1=E2=80=9D).transform.position.valueAtTime(2*s/100)
 
Something like that.
 
Dan
 
From: Brian Behm
Sent: Sunday, April 28, 2013 1:28 PM
Subject: [AE] Offset along motion path?
 
Hey everybody,=20
   quick question that's been confounding me. I have a = race track=20 simulation I'm developing for an info graphic and I have two = representative=20 triangles that I want to animate along the path. Because they're going = different=20 speeds, I want to be able to parent them to the path but not lock them = into a=20 specific time so that I can animate the offset along the path. Sort of = like how=20 Trapcode 3D stroke can animate along a portion of the path.
 
I know I can paste motion paths into After Effects, but that = doesn't solve=20 what I want it to do. Is there a way to constrain motion to a path = without=20 constraining it to a specific time?
 
Brian
 

Brian Behm | Art Director
Rooster Teeth Productions
636 Ralph=20 Ablanedo
Austin, TX  78748
office 512-480-0336
mobile=20 512-965-7914

------=_NextPart_000_002D_01CE4415.AAB4F130--