The problem is in the header scale I made, I looks like this:
https://sites.google.com/site/fghangar/ ... edirects=0
What I did was draw 20 degrees of the scale, and move it 5 degrees from side to side.
To give the illusion of the scale moving, I add a minor tick in the left side, when the scale moves to the right, and vice versa.
The scale and the outer ticks are in same group, so gets translated together. The ticks I switch on and off with show() and hide().
Here the left is shown, and the right is hidden:
https://sites.google.com/site/fghangar/ ... edirects=0
What happens in the loop when I must move the scale opposite what the illusion should be:
translate the group, hide the tick opposite the translation direction, show the other.
If I yaw towards higher heading, the right side works real good.
In the left side, a split second before a translation happens the tick which is hidden, gets shown.
It does not matter what order I do it in.
It is as if a show() and hide() happens instantly, but a translation on a transformation takes a split second.
Have any other experience this issue?
Is there smarter ways of making a scale that does not span the entire width of the HUD?