Image stretches when rotated - making a character selection window.

Greetings. I’m working on a character selection window for my player, whereas as the player taps on the side of the touch screen, the ‘wheel of players’ rotate. 180 degrees, and -180 degrees work perfectly fine, but anything inbetween looks very strange and stretched.

Here is a gif of the problem:
2159787--142738--stretched_image_GUI.gif

For some reason I can’t find out a solution for rotating it correctly. Anyone know how to fix this? :slight_smile:

Do not use the scale properties because these will cause your matrices to behave just like you’re currently noticing. I assume that you also used scales on the parent objects at some point.

Try resetting all scale values to 1 1 1, they’re not meant to be used for layouting. Instead use the layout properties at the top of the RectTransform to adjust the size of your objects and use scale/rotation only for effects.

1 Like

is Akiro_Pink’s parent’s (Character_Rotator) scale not uniform?
the causes of this kind of distortion is when a parent object’s scale is not uniform and a rotation on its children

check out runevision great explanation on http://forum.unity3d.com/threads/weird-mesh-distortion-when-rotating-via-script.119770/

1 Like

That was indeed the problem - the scaling on the “Character_Rotator”.
Thank you both! :slight_smile:

You’re welcome.