WorldScale changes when using LocalRotate
Hi! I'm trying to make a simple lens when sprite starts to rotate when I touch the screen and gets back to his initial position after touch ended.
But when sprite rotates, it also changes its scale (world one, local scale stays the same). Is there any way to find out, why it changes scale and how to get rid of it?
Hi Markus!
Hmm, can you provide your example project? I'm trying to reproduce with the following code, but it doesn't look like my worldScale is changing?
Thanks in advance!
Jon
Hi, Jon!
Looks like that's my mistake - I tried to change rotation only by changing rotation.z
Not very knowledgeable about quat command, sorry