Rotate an animated gameobject (2D)

Hi guys,
(first, I’m sorry for my bad english, it’s not my first language but I do my best)
I have a problem I’m not able to fix despite reading about many similar problems all around the web.
In my 2D game, I have an animated gameobject (a spritesheet) and I want to rotate it around 90 degrees.
How can I do that? Simply rotating the gameobject doesn’t work, the animation gets always played without rotation. I know there has to be a way, but I can’t imagine how to do it?

I would be really glad to get some answers!


if you want rotate, I think you should follow the live training is very well explained and understandable to a person who speaks no English (I’m French).
It helped me a lot.

this is the link: