Ok thanks for that. Calling setScale after clearRotation solves the problem
Another issue I ran into is that setScale throws an exception when a negative value or 0 is parsed. Perhaps jPCT could ignore these invalid values and simply set the scale to the lowest possible scale.
The problem being I am scaling objects to zero to 'hide' it and constantly running into exceptions.
Another issue I ran into is that setScale throws an exception when a negative value or 0 is parsed. Perhaps jPCT could ignore these invalid values and simply set the scale to the lowest possible scale.
The problem being I am scaling objects to zero to 'hide' it and constantly running into exceptions.