After adding drivers to rotate the wheels when a car model is moved the wheels at one side of the car rotate clockwise (CW) but the wheels on the opposite side rotate counter-clockwise (CCW).
I want to animate the car and the wheels should move independently from the direction of movement. I first tried to use the distance to an empty like this, but it this leads to the CW/CCW problem. Changing the sign of the rotation would probably fix this, but it seems that there isn't an option for changing the sign of the driver value.
A scripted expression tested in the console window:
>>> print(bpy.data.objects['Mazda'].location.y)
-0.30693674087524414
Doesn't work in the script input field:
What format does Blender expect here?