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 uninitialized inertia value in Body2DSW #31604

Merged
merged 1 commit into from
Aug 24, 2019
Merged

Fix uninitialized inertia value in Body2DSW #31604

merged 1 commit into from
Aug 24, 2019

Conversation

Xrayez
Copy link
Contributor

@Xrayez Xrayez commented Aug 23, 2019

This fixes regression caused by #31386.

In my case, rigid bodies sporadically started disappearing on instancing, I think they just flew away very far because of either too low or too high inertia, not sure.

For some reason the inertia isn't recomputed in some cases I think.

CC @raphael10241024 🙂

P.S. Thanks GUT for helping to catch this early.

@akien-mga akien-mga added this to the 3.2 milestone Aug 24, 2019
@akien-mga akien-mga merged commit 57589a7 into godotengine:master Aug 24, 2019
@akien-mga
Copy link
Member

Thanks!

@Xrayez Xrayez deleted the fix-inertia-2d branch August 24, 2019 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants