Hi…
I’m working on a 2D game and got a problem.
I’ve created a plane and a sprite(Circle Shaped) Game Object and put the sprite as child of the plane
now when I try to rotate the sprite,it goes out of its circle shape and becomes stretched
but when not in child position, it rotates normally!
I’ve already set the sprite pivot to center.
I couldn’t find out the problem!![]()
Please Help me solve it
Thanks In advance
Is it rotating around the parent? I’ve been playing with something similar this week & found if the parent has a scale of 1,1,1 & I rotate the parent then the child rotates around it while keeping its own scale.
it seems to be rotating around the parent!
but I did what you said and set the scale of the plane to 1,1,1 and it rotated normally!thanks for it
but If I need to have another scale for plane,Isn’t any other way to switch the child rotation pivot from parent to the child itself and fix this problem?
thanks again
you could try clamping the scale of the child in code so it doesn’t change