Rotate the "Crank" and the image disappears

Hi, guys.
I'm trying to flip an image left and right or up and down in certain situations to use "sprite:setScale()".
However, after setting x or y to a negative number like "setScale(1, -1)", "setScale(-0.5, 0.5)", and rotating the crank, the image becomes invisible.
How can I solve this problem?
*OS: MacOS Monterey

Code:

Gif:
Oct-11-2022 03-17-33

I solved it by creating a separate left image.



Nov-04-2022 15-27-48

1 Like

Nice workaround! I haven't had a chance to look into this yet, but I've got it filed. It's easy to reproduce so I expect it'll be fairly easy to fix as well. Thanks for pointing this out. :slight_smile: