Return-Path: Received: from omr13.networksolutionsemail.com ([205.178.146.63] verified) by media-motion.tv (CommuniGate Pro SMTP 4.2.10) with ESMTP-TLS id 4590230 for AE-List@media-motion.tv; Tue, 17 Jan 2012 03:42:50 +0100 Received: from cm-omr9 (mail.networksolutionsemail.com [205.178.146.50]) by omr13.networksolutionsemail.com (8.13.8/8.13.8) with ESMTP id q0H2nqQB026252 for ; Mon, 16 Jan 2012 21:49:52 -0500 Authentication-Results: cm-omr9 smtp.user=chris@chriszwar.com; auth=pass (LOGIN) X-Authenticated-UID: chris@chriszwar.com Received: from [58.104.25.254] ([58.104.25.254:53199] helo=[10.1.1.4]) by cm-omr9 (envelope-from ) (ecelerity 2.2.2.41 r(31179/31189)) with ESMTPA id EA/77-12338-EC1E41F4; Mon, 16 Jan 2012 21:49:52 -0500 From: Chris Zwar Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: multipart/alternative; boundary=Apple-Mail-3-569037692 Subject: Re: [AE] layer space transformation question Date: Tue, 17 Jan 2012 13:49:48 +1100 In-Reply-To: To: "After Effects Mail List" References: Message-Id: <01927FA3-45A4-4119-BFBA-8AF0DCC9CEAA@chriszwar.com> X-Mailer: Apple Mail (2.1084) --Apple-Mail-3-569037692 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii If you're happy for them both to occupy the same Z position, then = something this simple will work: bulldozer=3DthisComp.layer("Bulldozer"); hp=3Dbulldozer.toWorld(bulldozer.anchorPoint); // house position // And just adjust the anchor point of each layer until the layers line up. If the house layer and the bulldozer layer occupy different z positions = then it's slightly more tricky, because what you're creating is = essentially an optical illusion based on parallax. I'd have to think = about it a bit more... -Chris On 17/01/2012, at 12:38 PM, scott.aelist wrote: > I have a 2D layer (let's say a bulldozer) that has to push a 3d layer = (a house). I just want to parent the house to the bulldozer, or tie it = to a null that tracks with the bulldoser, but it doesn't work because = they're in different spaces and i get a paralax effect. I know how to = use the toComp expression to tie a 2d layer to a 3d layer, but this is = the reverse and i have no idea how to do it. How can i have the = bulldozer push the house and have them move at eh same rate? --Apple-Mail-3-569037692 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii If = you're happy for them both to occupy the same Z position, then something = this simple will work:

I have a = 2D layer (let's say a bulldozer) that has to push a 3d layer (a house). = I just want to parent the house to the bulldozer, or tie it to a null = that tracks with the bulldoser, but it doesn't work because they're in = different spaces and i get a paralax effect. I know how to use the = toComp expression to tie a 2d layer to a 3d layer, but this is the = reverse and i have no idea how to do it. How can i have the bulldozer = push the house and have them move at eh same rate?

= --Apple-Mail-3-569037692--