ClearRotation resets the scale

Started by K24A3, December 22, 2011, 04:34:05 PM

Previous topic - Next topic

guillaume

no. but for now, they face to the screen on the same side.

EgonOlsen

Well, interpolate(...) calls othonormalize() to ensure that it's a orthonormal matrix. And in this process, the matrix gets normalized...and so your scaling is gone. But as said: This is a overcomplicated way to change a scaling over time. Just interpolate the scaling value itself instead of the matrix and all is fine.

Vi_O

I've lost a lot of time because of this scale problem this week... Maybe you could make this post sticky or write the issue on the setScale()'s javadoc... I'm sure this would help a lot :)

EgonOlsen