Changing the scale while facing left causes it to flip vertically

Hello,

Regarding the subject matter, there is no issue when setting the scale change from the beginning. However, when changing the scale in VS, the entire object, including its collision, flips upside down only when set to face left.

Could you please provide a solution for this issue?

Thank you for your assistance.

testmovie (2)

Thanks for the report @isa! I was able to confirm this.

From what I found, the left-facing flip is handled via a combination of -180° rotation and a Y scale of -1. When VS applies a scale change, it overwrites that Y = -1 with the new positive value, but the rotation stays, which causes the upside-down result. I’m reporting this to the developers.

In the meantime, a workaround is to apply a negative Y scale when the object is facing left (for example, -0.7 instead of 0.7). You can gauge the direction either by checking input (left/right) or by checking the x_speed variable (less than 0 means moving left, greater than 0 means moving right). Not ideal, but if you absolutely need this behavior now it will avoid the flip until there’s a proper fix.

1 Like

Thank you for your confirmation.

I understand that the left-right flip processing is causing the issue.

Until the development team can address it, I will try the workaround you suggested.
Thank you very much.