Sprite size while animating ?
Hi guys, I have a series of Sprites, for a generic 2D game. I have the walking animation set. Its just that while I'm doing the Jump Animations my Jump Sprites Shrink to a SUPER tiny size! Which I find off becuase when I drag all of the frames into the Scene, the size is fine. But When I'm trying to animate it with the walking frames, the jumping frames become tiny.
Has anyone experience this before? Any advice would be appreciated.
Answer by wenson16 · Feb 14, 2016 at 11:12 AM
Did you change the local scale of your default sprite? If yes, then your sprite will really change if you jump from one animation to another.
You can add this in every animation you have
transform.localScale = new Vector3 (size, size, size) ;
Take note that "size" is a variable that should be equal to your default scale.
Your answer
Follow this Question
Related Questions
Animating Sprites Through Separate Script? 0 Answers
Stop animation at any frame? or have two idle states? 0 Answers
Help with 8-DOM Weapon Sprite Issue 0 Answers
Attaching Armour 2D sprites 0 Answers
Animator prevents OnMouseDown() 0 Answers