Position gizmo flips scale's sign

Hello,
it appears that Position Gizmo changes scale’s sign. In the playground below, you can set I set the mesh’s scale to (-1, 0.5. 2), but as soon as I click to drag the mesh , the scale becomes (1, -0.5, 2)

Please let me know how I can use the position gizmo keeping the scale consistent
Thank you

The behavior you’re observing is expected in Babylon.js due to how the position gizmo handles negative scaling. When you manipulate an object with negative scale using the position gizmo, it flips the sign of the scale components to maintain consistent movement directions.

The most robust solution is to parent your mesh and apply the scaling to the parent - https://playground.babylonjs.com/#31M2AP#642

2 Likes

What @labris said. Same thing can also happen with Euler angles.

1 Like