Page 1 of 1

Car Wheels Moving Backwards

Posted: November 3rd, 2011, 5:42 pm
by andysapp
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: Select all

thisComp.layer("Bug Control End").transform.position[0]
Hopefully this is an easy fix?

Thanks!

Re: Car Wheels Moving Backwards

Posted: November 3rd, 2011, 5:42 pm
by andysapp
Didn't realize that was my first post!

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

Re: Car Wheels Moving Backwards

Posted: November 3rd, 2011, 8:04 pm
by Dan Ebberts
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

Re: Car Wheels Moving Backwards

Posted: November 4th, 2011, 6:52 am
by andysapp
That did it! Thanks so much, Dan!