Mailing List AE-List@media-motion.tv ? Message #45784
From: Darby Edelen <dedelen@gmail.com>
Subject: Re: [AE] Calculating the size of a vector from camera view
Date: Mon, 17 Sep 2012 17:28:30 -0700
To: After Effects Mail List <AE-List@media-motion.tv>
Your expression works well for me. Do the "pops" seem to occur randomly?

On Mon, Sep 17, 2012 at 1:05 PM, Byron Nash <byronnash@gmail.com> wrote:
I am trying to get the 2D size of a vector in 3D space. I need to know how many pixels wide in 2D a null is as it moves around the comp. This seems to do something, but it is finicky and gives inconsistent results. My keyframes in the Z position are smooth, but the resulting length has strange "pops" in the value. 

N = thisComp.layer("3D Null");
length(N.toComp(N.anchorPoint), N.toComp(N.anchorPoint+50))



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