[4.6] Allow SoftBody3D to have a total_mass of 0 again#116111
Merged
Repiteo merged 1 commit intogodotengine:4.6from Feb 10, 2026
Merged
[4.6] Allow SoftBody3D to have a total_mass of 0 again#116111Repiteo merged 1 commit intogodotengine:4.6from
SoftBody3D to have a total_mass of 0 again#116111Repiteo merged 1 commit intogodotengine:4.6from
Conversation
Repiteo
approved these changes
Feb 10, 2026
jrouwe
approved these changes
Feb 10, 2026
Contributor
|
Thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
(This is the same as #116067, but targeting the
4.6branch instead, since that one doesn't make much sense to merge tomaster, with #116041 being the more proper fix there.)Fixes #116050.
This restores the lower bound of the
total_massproperty ofSoftBody3Dback from the new value of0.001, as changed in #108758, to the old value of0.Note that this is mostly a hack, to accommodate for the questionable implementation of
total_massfound in the Jolt Physics integration, where it will default to 0 no matter what the inspector says, and which results in the total mass being automatically calculated to 1 kg per point.