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

Fix transforms not working with physics composites objects #102

Merged
merged 2 commits into from
May 18, 2016
Merged

Fix transforms not working with physics composites objects #102

merged 2 commits into from
May 18, 2016

Conversation

leruaa
Copy link
Contributor

@leruaa leruaa commented May 17, 2016

This PR is my second attempt to fix the issue #81 after the PR #88.

I followed your instructions to compute global coordinates recursively :

The way this properly should be fixed is - when positioning the box2d item in physics system, we should position it using not local coordinates, but global coordinates calculation (by recursively going up through parents)

@azakhary
Copy link
Contributor

Thanks!

@azakhary azakhary merged commit dd85737 into UnderwaterApps:master May 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants