- Home /
Sprite rotation with animation (2d project)
Hi. I'm trying to create a sprite which is able to rotate some time. Is there some good methods to create rotation around axis animation? Code like
Vector3 theScale = transform.localScale;
theScale.x*= -1;
transform.localScale = theScale;
works well but I want to get animation of this rotation. Is there some methods to play animation for same code? Or I should use something else?
Comment
Your answer
Follow this Question
Related Questions
2D Sprite Animation - Rotate animation on axis 1 Answer
2D sprite animation issue 0 Answers
Rotate the weapon sprite with a joystick 0 Answers
SpriteManager 2 1 Answer
Sprite animation 2 Answers