Author Topic: ClearRotation resets the scale  (Read 7300 times)

Offline guillaume

  • int
  • **
  • Posts: 67
    • View Profile
Re: ClearRotation resets the scale
« Reply #15 on: December 28, 2011, 02:17:14 am »
no. but for now, they face to the screen on the same side.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: ClearRotation resets the scale
« Reply #16 on: December 28, 2011, 08:44:58 pm »
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.

Offline Vi_O

  • byte
  • *
  • Posts: 17
    • View Profile
Re: ClearRotation resets the scale
« Reply #17 on: February 09, 2012, 05:53:26 pm »
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 :)

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: ClearRotation resets the scale
« Reply #18 on: February 09, 2012, 06:13:00 pm »
I agree...i'll add it.