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

[3.2] Fixes division by zero when 3d body does not have valid shape #46809

Merged
merged 1 commit into from
Mar 9, 2021

Conversation

likeich
Copy link
Contributor

@likeich likeich commented Mar 9, 2021

Fixes #46738 by setting the default inertia to a valid value when there are no valid shapes for a 3d body. Fixes a few comments with wrong formatting also.

Fixes godotengine#46738 by setting the default inertia to a valid value when there are no valid shapes for a 3d body.
@akien-mga akien-mga changed the title Fixes division by zero when 3d body does not have valid shape (3.2 only) [3.2] Fixes division by zero when 3d body does not have valid shape Mar 9, 2021
@akien-mga akien-mga merged commit f79b847 into godotengine:3.2 Mar 9, 2021
@akien-mga
Copy link
Member

Thanks!

@likeich likeich deleted the fix_inertia_bug_3.2 branch March 9, 2021 16:57
@akien-mga akien-mga modified the milestones: 3.2, 3.3 Apr 20, 2021
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