How to rotate an object using animation clip in opposite direction?

I am new to unity and I was trying use the animation window. I have a 2D platform that I want to rotate to 135 degrees. Each time I do the animation it rotates counterclockwise. How would I make it rotate clockwise?

Inverse the animation speed (1 becomes -1, and so on).

1 Answer

1

You might make a script in which you changed the flip of dersonaje or whatever you want.
as a mirror. and it seems that it does to the other side. of course if you work with sprites or image (canvas).

This is the simple code serves to reverse the position if it is right or left

    void Flip()
     {
         Vector3 theScale = transform.localScale;
         theScale.x *= -1;//as you prefer on x or y. depending on the reflection that you need
         transform.localScale = theScale;
     }

He was sorry if you do not help