Problem with the point of attachment, rotation

hello, I’m trying to scale the bitmap text by -1 (text.scaleX = -1), but the text rotates not from the center (origin (0.5,0.5), but relative to the left edge (origin (0,0), although origin is set at 0.5; What am I doing wrong?

scene.add.bitmapText(x, y, ‘myfont’, text, size,{
align:“center”
}).setScale(-1,1).setOrigin(0.5,0.5)

I think should turn through the center, but still runs away on the left

1 Like

Bitmap Text scale doesn’t seem to follow the origin. You can use a Render Texture.

3 Likes

2 Likes