Allow SoftBody3D to have a total_mass of 0 again

This commit is contained in:
Mikael Hermansson
2026-02-08 21:12:15 +01:00
parent 7bfffc846d
commit bc81d56c1e
2 changed files with 2 additions and 1 deletions

View File

@@ -165,6 +165,7 @@
</member>
<member name="total_mass" type="float" setter="set_total_mass" getter="get_total_mass" default="1.0">
The SoftBody3D's mass.
[b]Note:[/b] When using Jolt Physics, the default value of this property will instead be [code]0.0[/code], which will cause the body to automatically calculate the mass to 1 kg per point. This is a bug, which will be fixed in Godot 4.7.
</member>
</members>
<constants>