Return-Path: Received: from mail-ve0-f174.google.com ([209.85.128.174] verified) by media-motion.tv (CommuniGate Pro SMTP 4.2.10) with ESMTP-TLS id 5002275 for AE-List@media-motion.tv; Wed, 13 Mar 2013 17:45:10 +0100 Received: by mail-ve0-f174.google.com with SMTP id pb11so914775veb.5 for ; Wed, 13 Mar 2013 09:52:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=xsXq7jnXIifB/ZjwG/JpCc+siP46l1YtcVa7R82NJmo=; b=arBGYhTfevSYS34dqejIo7pDUQJQWwq7uZCOJYxNapwEix1ElRGCm+TjI6XSTgEHFw vQqcaEtrl+7GIb6RyZVOkX2L7liG+hVzc8PogYMg4ydcJTEOj5vJvsEMQcG6tEKRjCmO GShLCxFYLomTuzNSTIycazw2HzpkmG70dtp0bjGJ4SSfKRDSbUqrMpeeW1GwYnNsLK1Z H65o0TFNngjnEalPC2TmZQzbiw7OqSnQIRIBgxbHhccDd3Nieryz72JCg7j6k8/v6K1x Smd2EkH9Gi8EXDGJ9KVKwe42qskmrtZRJs/7Y6h7Bci1n+c8/2Z/Q9bb+3LCwHITjsvA qSxA== MIME-Version: 1.0 X-Received: by 10.52.19.200 with SMTP id h8mr7299824vde.60.1363193530312; Wed, 13 Mar 2013 09:52:10 -0700 (PDT) Received: by 10.58.241.170 with HTTP; Wed, 13 Mar 2013 09:52:10 -0700 (PDT) In-Reply-To: References: Date: Wed, 13 Mar 2013 12:52:10 -0400 Message-ID: Subject: RE: position drives rotation From: Doug To: AE-List@media-motion.tv Content-Type: multipart/alternative; boundary=20cf307ca04c226e8904d7d13a55 --20cf307ca04c226e8904d7d13a55 Content-Type: text/plain; charset=ISO-8859-1 I figured it out. Here it is if anyone else needs it. p = thisComp.layer("controller").transform.position; length(p,p.valueAtTime(0)) From: Doug Date: Wed, Mar 13, 2013 at 12:44 PM Subject: position drives rotation To: After Effects Mail List Hey all, I have a basic expression issue that I've seen here before but can't remember or find it. I have the position of a null that I want to drive the rotation of another layer. but it makes the starting rotation at 1x+206 instead of zero This seems to work: thisComp.layer("controller").transform.position[0] but it makes the starting rotation at 1x+206 instead of zero Would I need to subtract this number in the expression? Thanks --20cf307ca04c226e8904d7d13a55 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I figured it out. Here it is if anyone else needs it.

p =3D thisComp.la= yer("controller").transform.position;

= length(p,p.valueAtTime(0))




From: Doug <bassett.doug@gmail.com>
Date: Wed, Mar 13, 2013 at 12:44 PM
Subject: position drives rotationTo: After Effects Mail List <AE-List@media-motion.tv>


Hey all,
I have a basic exp= ression issue that I've seen here before but can't remember or find= it.
I have the position of a null that I want to drive the rotation of ano= ther layer. but it makes the starting rotation at 1x+206 instead of zero
This seems to work:

thisComp.layer("controller").t= ransform.position[0]

but it makes the starting= rotation at 1x+206 instead of zero

Would I need to subtract this number in the expression= ?

= Thanks


--20cf307ca04c226e8904d7d13a55--