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?
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.
Regarding this issue, in today’s release (1.2.13), we have enabled the ability to adjust the scale by modifying scale_x and scale_y in VariableSettings, ensuring that flipping no longer causes problems.
As Baz pointed out, directly changing the scale of nodes like Sprite2D will result in an inverted appearance when flipped; this is the intended behavior. Please verify this on your end.