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?

in Engine by (45 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.

by (34 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 Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.