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

Add configuration warning to Box2DWorld/PhysicsBody nodes that have a non-identity global transform scale #15

Open
briansemrau opened this issue Dec 7, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@briansemrau
Copy link
Owner

briansemrau commented Dec 7, 2020

Following discussion here: #8 (comment)_

There is no reasonable way to support scale transformations for Box2DPhysicsBody, Box2DFixture, or Box2DWorld nodes. These nodes should display a warning if their global relative-to-box2dworld scale is not (1, 1) to indicate that physics will behave in unexpected ways.

@briansemrau briansemrau added bug Something isn't working PRs welcome labels Dec 7, 2020
@jordo
Copy link
Collaborator

jordo commented Dec 7, 2020

I think Box2DWorld would still work, if Box2DPhysicsBody transforms end up being relative to world instead of global? If i 'zoom in' and scale the Box2DWorld node, it shouldn't affect any transforms if transforms end up being relative to world

@briansemrau briansemrau added this to the Initial Release milestone Dec 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants