- Home /
Wired scaling problem
I am working on 2D card game where player tap on a card and it get flipped.
I add back card and inside the back card I add front card as a child.
I created animation to flip the card by rotation around Y axis. When the angle is 90 I turn off back card sprite renderer and enable front card sprite renderer.
This works nicely but when I flip the card the front card is scaled down by half. But scaling on parent and child is still 1 and 1.
Any idea why this is happening ....
Are the actual images you use the same size and do they have the same "pixels to units" setting.
i am setting the front card image at run time though. It is a random card image
I am using a sprite sheet to get my sprites. If i used a card that is not in the sprite sheet it works fine.
Your answer
Follow this Question
Related Questions
2D rigidbody behaves strangely with a negative scale 0 Answers
changing camera view 3 Answers
Problem scaling parent without scaling child 0 Answers
GUI box scaling issue [C#] 0 Answers