X Tutup
Skip to content

Tweak property hints for SoftBody3D mass and SkeletonModification2DJiggle#108758

Merged
akien-mga merged 1 commit intogodotengine:masterfrom
Calinou:editor-mass-tweak-property-hints
Dec 18, 2025
Merged

Tweak property hints for SoftBody3D mass and SkeletonModification2DJiggle#108758
akien-mga merged 1 commit intogodotengine:masterfrom
Calinou:editor-mass-tweak-property-hints

Conversation

@Calinou
Copy link
Member

@Calinou Calinou commented Jul 18, 2025

Masses in Godot are specified in kilograms. This also fixes the SoftBody3D mass being limited to increments of 1 kg, now allowing adjustments to the nearest gram.

@test2938102839
Copy link

test2938102839 commented Jul 21, 2025

@Calinou So i have to change the godot code to make it in grams or smthing. How do I change the code?
Do i need to download the c++ module, also why isnt this a part of godot's main build?

@Calinou
Copy link
Member Author

Calinou commented Jul 21, 2025

So i have to change the godot code to make it in grams or smthing.

We shouldn't change the unit in which mass is specified, as doing so will break compatibility with existing projects. It's still kilograms in this pull request, but you can now specify the weight down to the nearest 0.001 unit.

How do I change the code? Do i need to download the c++ module,

See Compiling in the documentation.

also why isnt this a part of godot's main build?

This is a pull request, so it isn't merged in Godot yet. Once it's merged, you will need to compile the master branch from source as linked above, or wait for the next stable release to come out.

…ggle

Masses in Godot are specified in kilograms.
This also fixes the SoftBody3D mass being limited to increments of 1 kg,
now allowing adjustments to the nearest gram.
@Calinou Calinou force-pushed the editor-mass-tweak-property-hints branch from 67f01bb to 3e7eb5c Compare December 18, 2025 01:28
@Calinou Calinou requested a review from a team as a code owner December 18, 2025 01:28
@akien-mga akien-mga merged commit babde91 into godotengine:master Dec 18, 2025
20 checks passed
@akien-mga
Copy link
Member

Thanks!

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.

[Softbody3D] MASS | Cannot be a float??? (eg. "0.5")

3 participants

X Tutup