Dave Perry <[EMAIL PROTECTED]> said: > I used intuition from the new main gear rotation animations. I made the > following change to the four <offset-deg> referencing the main gear > (wheel and strut). > <offset-deg>+34</offset-deg> > This makes the two positions of the main gear correct and the motion seems > OK. This was my first guess. > - Dave P.
Dave, All that David M. changed was the order of the math, previously the offset value was incorrectly applied directly to the unfactored input values. The new code implies that the factor must convert to degrees (which make sense since thats how the 3D rotations work and was the original intention). It was: (input + offset) * factor. Now it is: input * factor + offset-deg. So the change to the xml returning animation behavior to what it was before the fix is very simple. On existing models: thenew-offset-deg = factor * theold-offset-deg. The dc3 fix is in cvs now. I'm thinking this finally fixes all the models in cvs, but there may be some others or folks might have their own local customizations. Best, Jim _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
