|Attention||Topic was automatically imported from the old Question2Answer platform.|
I have an issue with rigibody2d when transform scale x is set to -1. It flip my sprite upside down.
The demo scene is setup as show on the picture below:
Basically left unicorn is duplicated version of right unicorn with rigidbody2d scale x set to -1. When I play the scene the left unicorn if flipped.
Is that a expected behavior or there is something I don’t get with an engine ?
Or it is a bug and I should post it on:
Issues · godotengine/godot · GitHub ?
What version of Godot are you using? In Godot 3.1 those work as expected. Maybe it is a bug after all.
johnygames | 2019-08-23 18:06
I use version 3.1.1. It happens also when I wrap rigidbody2d with node2d and change x scale on that. When I flip sprite only i does not flip collision shape, example on picture
Vrzasq | 2019-08-24 07:37