quote: i have no idea why it happens but in the mod certain units, specifically gauss and starlight, have this strange tendency to go sideways when they level up. I dont know why exactly but if I were to make a guess it probably has to do with piece scaling. |
IIRC Spring makes collada models rotate correctly by:
- Creating a virtual Scene piece that contains every other piece of the model as its children
- Rotating that Scene piece 90 degrees along X-axis to get Z to point upwards.
If your matrix stuff changes the transform of the Scene piece and resets its rotation to 0,0,0, you'll have the model rotate to 90 degrees off.