Car Wheels Moving Backwards

Moderators: Disciple, zlovatt

Post Reply
andysapp
Posts: 3
Joined: June 7th, 2011, 11:16 am

November 3rd, 2011, 5:42 pm

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!
andysapp
Posts: 3
Joined: June 7th, 2011, 11:16 am

November 3rd, 2011, 5:42 pm

Didn't realize that was my first post!

Anyway... hi... I'm Andy!
:)
Dan Ebberts
Posts: 319
Joined: June 26th, 2004, 10:01 am
Location: Folsom, CA
Contact:

November 3rd, 2011, 8:04 pm

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
andysapp
Posts: 3
Joined: June 7th, 2011, 11:16 am

November 4th, 2011, 6:52 am

That did it! Thanks so much, Dan!
Post Reply