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

Changing Box2D conversion factor reconfigures many joint anchors #1

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

Comments

@briansemrau
Copy link
Owner

When the conversion factor is changed in the project settings, many existing joints appear to be relocated across the screen. When the scene is saved and reloaded, custom configured anchors are still in the wrong position but default configured anchors return to the correct position.

@briansemrau briansemrau added the bug Something isn't working label Dec 6, 2020
@briansemrau
Copy link
Owner Author

Many joint node properties are tied to their respective b2Joint and b2JointDef, but by increasing their separation by duplicating the local anchors and storing them in Godot space the conversion factor should no longer be an issue.

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

1 participant