Flip Sprite Horizontal

Is it possible to flip the Horizontal Axis of a sprite around? I can rotate and mesh, but I’m trying to save on memory by having the ability to “Flip” a sprite Horizontally or Vertically.

:face_with_spiral_eyes:

Edit: Question has been answered by Sballew7 first, thanks!

You can set the x scale to -1.

Thanks, I’m a bit new to unity but I love the current features. I’m happy to know that there is a solution to this problem.

Don’t do that if you plan on using the physics because you’ll screw it up.
You’re better to rotate the sprite
e.g. rotate along the y axis 180°
This achieves the same effect but with the ability to use the physics engine.

Except even rotating over the Y axis , the colliders do not rotate correctly… so still not able to use the physics engine…

Yeah, flipping by rotating on the Y-axis evinces the same collider behavior as flipping by setting the X-scale to -1.

Keep in mind that as long as you flip and rotate in the same GameObject’s transform, no such bugs occur. It’s rotating child objects (of flipped Game Objects) with colliders that creates the problem.

So, if you need to separately rotate a child collider, you’ll need to use separately flipped sprites, I’m afraid.