From: "Dan Ebberts" Received: from resqmta-ch2-10v.sys.comcast.net ([69.252.207.42] verified) by media-motion.tv (CommuniGate Pro SMTP 6.1.0) with ESMTPS id 6434019 for ae-list@media-motion.tv; Tue, 10 Apr 2018 20:42:34 +0200 Received: from resomta-ch2-03v.sys.comcast.net ([69.252.207.99]) by resqmta-ch2-10v.sys.comcast.net with ESMTP id 5yHwfZQ0iueeM5yJ6fXnUx; Tue, 10 Apr 2018 18:47:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20161114; t=1523386072; bh=4EHhjqz2RxTrc/1EcCO8HU9dFdtLho5si1NbwKH8nvQ=; h=Received:Received:From:To:Subject:Date:Message-ID:MIME-Version: Content-Type; b=OI2WS8dgfHf+Ndi3bnNlefGG7bCxG7TjY5wRaY3ITvMYQev8hfZwpG6axBLIIUbGk +4pJ8mNXN9tG2XnbHc72esaRq717wruI7FhymG0NgxNwt3zGivkXEFLzFIKfxdfeeN HJNa8LM5N6f4DEnONg+tb1wVO8QwVh/7MOWoLVhSrOx0m6q5X86IFr43/ffPbYX20N dg3IUeajImauoTlm/W+GWHjNgFRQElMVOimRFIapQbjQy8HqoVBnoXBpRUbWKIxckx HLIyUM13EwNHkc/ylpXdUgtgbvi65nfoTg4/f6zuWDVjsME5VgeU8oLse8BAWhUKkk ze4jdy5z5Iryw== Received: from HPZ440 ([174.50.168.237]) by resomta-ch2-03v.sys.comcast.net with SMTP id 5yJ4fxf1veZKw5yJ5fIWse; Tue, 10 Apr 2018 18:47:52 +0000 To: "'After Effects Mail List'" References: In-Reply-To: Subject: RE: [AE] Expression to follow shape layers? Date: Tue, 10 Apr 2018 11:47:49 -0700 Message-ID: <000d01d3d0fc$6d557750$480065f0$@comcast.net> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000E_01D3D0C1.C0F84D00" X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQJhZ4iBVeCl22Vv39XAX/Kadx2/kKLfKNuQ Content-Language: en-us X-CMAE-Envelope: MS4wfESFe5SwovpvmKVhrjlqhuRTqog2GVZEf00FA8knngTmoszeaA5ylex9ALjsKxM29Rp/qqHen2X27JkKIzglXjhTxNJDrY08GJXy9ro7vNoiS0/pT/QR eYblvBhIdcfV4yJLeVVV0NbpLdtT7N5Mxkhklz+qDang6XvtFiRnaffB This is a multipart message in MIME format. ------=_NextPart_000_000E_01D3D0C1.C0F84D00 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable The key is pointOnPath() which lets you track a shape layer=E2=80=99s = path. Here=E2=80=99s an example that uses a slider (0-100) to control = percentage travel along a path: =20 s =3D effect("Slider Control")("Slider").value/100; L =3D thisComp.layer("Shape Layer 1"); p =3D L.content("Shape 1").content("Path 1").path; L.toComp(p.pointOnPath(s,time)) =20 =20 Dan =20 From: After Effects Mail List =20 Sent: Tuesday, April 10, 2018 10:24 AM To: After Effects Mail List Subject: [AE] Expression to follow shape layers? =20 I thought this was introduced in 15.0, but I can find any reference to = making a layer follow shape layers shape using expressions? Did I dream = this? =20 =20 Mike Powers Director of Animation \ Cramer =20 781.278.2354 mpowers@cramer.com https://vimeo.com/mpowers 3DBOXX W8920Processor 32.0 GB RAM =20 Dual Xeon CPU E5-2670 0 @ 2.60GHz, 2601 Mhz, 8 Core(s), 16 Logical = Processor(s) Windows 10 Enterprise - 1709 (OS Build 16299.64) NVIDIA GTX TITAN Black RAM 6.0 GB Driver Version 2.1.2 NVIDIA = 388.31 =20 =20 ------=_NextPart_000_000E_01D3D0C1.C0F84D00 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

The key is = pointOnPath() which lets you track a shape layer=E2=80=99s path. = Here=E2=80=99s an example that uses a slider (0-100) to control = percentage travel along a path:

 

s =3D = effect("Slider = Control")("Slider").value/100;

L =3D thisComp.layer("Shape Layer = 1");

p =3D L.content("Shape = 1").content("Path 1").path;

L.toComp(p.pointOnPath(s,time))

 

 

Dan

 

From: After Effects Mail List = <AE-List@media-motion.tv>
Sent: Tuesday, April 10, 2018 = 10:24 AM
To: After Effects Mail List = <AE-List@media-motion.tv>
Subject: [AE] Expression to = follow shape layers?

 

I thought = this was introduced in 15.0, but I can find any reference to making a = layer follow shape layers shape using expressions? Did I dream = this?

 

 

Mik= e Powers
Director of Animation \ = Cramer
 
781.278.2354
mpowers@cramer.com

https://vimeo.com/mpowers

3DBOXX = W8920Processor          = ;32.0 GB RAM 

Dual Xeon CPU E5-2670 0 @ 2.60GHz, 2601 Mhz, 8 = Core(s), 16 Logical Processor(s)

Windows 10 Enterprise = - 1709 (OS Build 16299.64)

NVIDIA GTX TITAN Black = RAM  6.0 GB     Driver Version   = 2.1.2 NVIDIA 388.31

 

 

------=_NextPart_000_000E_01D3D0C1.C0F84D00--