How flipX a sprite that is not symetrical

Hello,
I have an issue figuring out how to flipX an image if its not symetrical and centered. Here the image of a character I am using, his body is not positioned in the center of the image:
mage

Is there a coding solution to this or I will have to edit the image and center the character body manually in PhotoShop?

You can try different values for originX.

Didn’t work. Seems like setting origin doesn’t affect the position of flipping axis. :frowning:

It looks like you have to use setOrigin(…).

Sadly it doesn’t work. Seems like its impossible to do.
This is what it looks like when I flipX, to turn the sprite to the left.
right
left

“FlipX
The horizontally flipped state of the Game Object.
A Game Object that is flipped horizontally will render inversed on the horizontal axis. Flipping always takes place from the middle of the texture and does not impact the scale value. If this Game Object has a physics body, it will not change the body. This is a rendering toggle only.”