Hi, i just tried to animate the transmission of my LEGO car. The axles get their rotation via xpresso from the axle before. The transmission is a little bit more difficult but it works.
So my problem is that jumping of their angles. When i switch after a few seconds from N to 1st gear, so the axle takes the calculated angle and jumps e.g. from 0° to 1234° instead of counting upwards. When i switch to 2nd gear the angle jumps to 2345° and counting upwards. Back to first gear, angle is again e.g. 1456°. So every gear switching causes a jump in the angle.
I tried to let them count e.g.
x= main.axle.angle (1234)
y= offset (copied from the main.axle.angle at the first frame of starting this gear)
z= real angle
so it should work like “x-y=z” in this case 1234-1234=0, main.axle is continuing counting -> 1235-1234=1 / 1236-1234=2 and so on. But i don’t know how to copy a angle by xpresso. When i link them to a nullobject, this counts to and so the angle is ever 0.
Here a render of my problem: http://vimeo.com/21505785