AE ENHANCERS

Expressions/Scripts/Presets
It is currently Tue May 21, 2013 6:28 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Car Wheels Moving Backwards
PostPosted: Thu Nov 03, 2011 5:42 pm 
Offline

Joined: Tue Jun 07, 2011 11:16 am
Posts: 3
Hello all,

I have a simple car rig set up so that the rotation of the wheels changes in relation to the x-position of a null that controls the whole setup. Easy enough, and the wheels rotate - only for some reason... they are rotating backwards from how they should.

This is the expression on the wheel layers.
Code:
thisComp.layer("Bug Control End").transform.position[0]


Hopefully this is an easy fix?

Thanks!


Top
 Profile  
 
 Post subject: Re: Car Wheels Moving Backwards
PostPosted: Thu Nov 03, 2011 5:42 pm 
Offline

Joined: Tue Jun 07, 2011 11:16 am
Posts: 3
Didn't realize that was my first post!

Anyway... hi... I'm Andy!
:)


Top
 Profile  
 
 Post subject: Re: Car Wheels Moving Backwards
PostPosted: Thu Nov 03, 2011 8:04 pm 
Offline

Joined: Sat Jun 26, 2004 10:01 am
Posts: 297
Location: Folsom, CA
Just add a minus sign in front of the expression to get it to rotate the other way:

-thisComp.layer("Bug Control End").transform.position[0]


Dan

_________________
http://www.motionscript.com


Top
 Profile  
 
 Post subject: Re: Car Wheels Moving Backwards
PostPosted: Fri Nov 04, 2011 6:52 am 
Offline

Joined: Tue Jun 07, 2011 11:16 am
Posts: 3
That did it! Thanks so much, Dan!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group