Mailing List AE-List@media-motion.tv ? Message #46638
From: scott.aelist <scott.aelist@gmail.com>
Sender: <hedczech@gmail.com>
Subject: get z position of parented layer?
Date: Wed, 14 Nov 2012 12:32:01 -0800
To: After Effects Mail List <AE-List@media-motion.tv>
I'm trying to connect a particular emitter point to the position of a 3d null layer. I normally use the expression Dan Ebberts and other people have written:
x = thisComp.layer("target");
x.toWorld(x.anchorPoint)
..but since the z position is split out in particular, I don't know how to connect it.

I tried:
x = thisComp.layer("target").transform.position[2];
x.toWorld(x.anchorPoint)
..but AE gives me an error. Anyone know how to write this?>

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