You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Operating system or device, Godot version, GPU Model and driver (if graphics related):
Win7 x64, Godot 3.0
Issue description:
scale = Vector2(-1, 1) flips my character every frame, alternating between 1 and -1, and it happens on the Y axis.
Using set_scale(-1, 1) does the same but on the X axis.
Steps to reproduce:
Open example project I attached, open Stork.tscn and run that scene, check the script on the root node.
Seems to be because move() is called as well. Duplicate of #5929
Still a bit of an issue, since flipping sprites isn't going to be very manageable with a skeleton hierarchy like this? Also, scale = Vector(1, -1) has expected results, just not on the X axis.
I'm going to close this as a duplicate of #12335 since the latter has more activity. If it is not a duplicate, feel free to comment here and we will reopen it.
As a workaround for the mentioned problem, try putting the whole visual hierarchy inside a Node2D inside the KinematicBody2D. That way, you can have separate visual and physics scale.
Operating system or device, Godot version, GPU Model and driver (if graphics related):
Win7 x64, Godot 3.0
Issue description:
scale = Vector2(-1, 1) flips my character every frame, alternating between 1 and -1, and it happens on the Y axis.
Using set_scale(-1, 1) does the same but on the X axis.
Steps to reproduce:
Open example project I attached, open Stork.tscn and run that scene, check the script on the root node.
Link to minimal example project:
Stork 2, scale glitch.zip
The text was updated successfully, but these errors were encountered: