Mailing List AE-List@media-motion.tv — Message #63114
From: Jarret Langmeire <AE-List@media-motion.tv>
Subject: Re: [AE] scale a layer based on position of other layers
Date: Thu, 14 Sep 2017 13:24:48 +0200
To: After Effects Mail List <AE-List@media-motion.tv>
Hi Mike,

I'm sorry to ask this but do you still have this sample project available? I downloaded it a few months ago but am unable to find it at my end.

Many thanks

On 12 May 2017 at 17:44, Mike Abbott <AE-List@media-motion.tv> wrote:


On 12/05/2017 08:45, Jarret Langmeire wrote:
Hi. I’m trying to figure out an expression which scales a layer so that it's left and right edges exactly match the location of two other layers ie. left edge matches layer 1's position and right edge matches layer 2's position. I’ve been fiddling around with Dan’s expression which positions a layer on the edge of a scaled layer but can’t seem to reverse the process.



Jarret,
I have a basic test file / expression that maybe just what you're looking for - scales, rotates and positions a layer on the basis of two nulls.


 EXP PSR from 2 points_CC12.aep


https://www.dropbox.com/sh/kaobtdthzp3amci/AAAo7Ugc5LXtY8NVKJEk7lFpa?dl=0

right click > save link as.


Just note: in this example file the green solid's anchor point has been moved to its left hand edge.


Mike A.


--
*Mike Abbott*
http://vantagegraphics.co.uk
http://mikeabbott.info


+---End of message---+
To unsubscribe send any message to <ae-list-off@media-motion.tv>



--
--

Jarret
 
Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to ListMaster