0 votes

Whenever i use the apply_scale(Vector2(-1,1)) function it changes my y value instead of my x....anyone have the same problem?

asked Aug 7, 2019 in Engine by Yoseph (41 points)

Have you by any chance rotated the sprite before applying the changes to scale?

1 Answer

0 votes

Make sure the object(or maybe its parent) isn't maybe rotated by 90 degrees.

answered Aug 8, 2019 by Fattywithhacks (27 points)

Nope all the children and the parent are at 0 deg.

But i think i found a work around...kinda...the apply_scale() works perfectly on area2D's...yeah then changed all my equipables to area2D...but this is a serious bug.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.