Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with rigdibody2d with scale x set to -1 #31622

Closed
Vrzasq opened this issue Aug 24, 2019 · 1 comment
Closed

Issue with rigdibody2d with scale x set to -1 #31622

Vrzasq opened this issue Aug 24, 2019 · 1 comment
Labels

Comments

@Vrzasq
Copy link

Vrzasq commented Aug 24, 2019

Godot version:
official 3.1.1

OS/device including version:

  • GPU gtx1080 drivers GeForce Game Ready Driver v431.36
  • CPU i5-750
  • Windows 10

Issue description:
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:
picture

Basically left unicorn is duplicated version of right unicorn with rigidbody2d scale x set to -1. When I play the scene the left unicorn is flipped.
picture

That happens also when I wrap rigidbody2d with node2d and change x scale on that.

Steps to reproduce:

  • Create Scene
  • add rigidbody2d with sprite and collision shape attached to it
  • duplicate rigibody2d and chnage its x scale to -1
  • play the scene

Minimal reproduction project:

unicorn_wars.zip

@KoBeWi
Copy link
Member

KoBeWi commented Aug 24, 2019

Duplicate of #12335

@KoBeWi KoBeWi marked this as a duplicate of #12335 Aug 24, 2019
@KoBeWi KoBeWi closed this as completed Aug 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants