Mailing List AE-List@media-motion.tv ? Message #48116
From: Doug <bassett.doug@gmail.com>
Subject: RE: position drives rotation
Date: Wed, 13 Mar 2013 12:52:10 -0400
To: <AE-List@media-motion.tv>
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 <bassett.doug@gmail.com>
Date: Wed, Mar 13, 2013 at 12:44 PM
Subject: position drives rotation
To: After Effects Mail List <AE-List@media-motion.tv>


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


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