godot-module-template/modules
Jorrit Rouwe 8a6d125ec2 Jolt Soft Body: Make default mass 1 kg and fix stiffness conversion
Before this change, the default SoftBody3D mass was 0 which would set the mass of every vertex to 1 kg. The SoftBody3D UI in this case shows 0.001 kg, while for a cloth with a reasonable number of subdivisions the actual weight would be in the order of 1000 kg. This weight is likely to be much more than the weight of other RigidBody3D's in the scene (their default weight is 1) causing unrealistic interactions.

* Changed the default mass for a soft body to 1 kg, this mass is distributed uniformly across all soft body vertices. This matches what Godot Physics does.
* Added a missing call to _update_mass() so that calling set_mass after creation actually updates the mass now.
* Added an error check to set_mass() so that it no longer accepts zero mass as input.
* Fixed the conversion from godot stiffness to Jolt's compliance with a formula that was derived from the XPBD vs PBD equations. The previous conversion routine was determined experimentally and did not account for vertex mass. This meant that when the vertex mass became really low, the simulation became unstable.
2026-02-08 10:38:46 +01:00
..
astcenc Revert "SCons: Add CPPEXTPATH for external includes" 2025-10-06 13:09:22 -05:00
basis_universal BasisUniversal: Disable strict aliasing to fix GCC optimization issue 2026-01-10 23:15:22 +01:00
bcdec
betsy CommandQueueMT: Make re-entrant again + Fix multiple flushers case 2025-12-09 16:09:08 +01:00
bmp
camera Don't right-align escaped newlines, e.g. for #define. This has previously led to long diffs in the commit history. 2026-02-04 19:31:28 +01:00
csg Remove geometry_3d include from rendering_server.h, to reduce compile time. 2026-01-27 18:12:38 +01:00
cvtt Merge pull request #111015 from Alexofp/texture-compression-build-option 2025-10-21 15:10:56 -05:00
dds Merge pull request #108170 from aaronfranke/test-ps-path-func 2025-11-17 10:56:31 -06:00
enet Use actual class names in resource type hints 2026-01-29 21:07:56 +01:00
etcpak Revert "SCons: Add CPPEXTPATH for external includes" 2025-10-06 13:09:22 -05:00
fbx Don't right-align escaped newlines, e.g. for #define. This has previously led to long diffs in the commit history. 2026-02-04 19:31:28 +01:00
freetype Use HarfBuzz to fix variant hinting in TextServerAdvanced 2025-10-10 18:01:03 -03:00
gdscript Merge pull request #114559 from HolonProduction/lsp/fix-performance-scene-loading-workspace-completion 2026-02-06 08:18:04 -06:00
glslang Vulkan: Update all components to Vulkan SDK 1.4.335.0 2026-02-04 11:22:17 +01:00
gltf Don't right-align escaped newlines, e.g. for #define. This has previously led to long diffs in the commit history. 2026-02-04 19:31:28 +01:00
godot_physics_2d Don't right-align escaped newlines, e.g. for #define. This has previously led to long diffs in the commit history. 2026-02-04 19:31:28 +01:00
godot_physics_3d Synchronize the names for RequiredParam<T> arguments in header files 2025-12-03 04:14:52 -06:00
gridmap Add FilterLineEdit to unify editor filter field navigation 2026-02-03 15:37:20 +01:00
hdr
interactive_music Use actual class names in resource type hints 2026-01-29 21:07:56 +01:00
jolt_physics Jolt Soft Body: Make default mass 1 kg and fix stiffness conversion 2026-02-08 10:38:46 +01:00
jpg Merge pull request #109433 from KoBeWi/hastension 2025-10-31 09:23:30 -05:00
jsonrpc
ktx Merge pull request #109433 from KoBeWi/hastension 2025-10-31 09:23:30 -05:00
lightmapper_rd Don't right-align escaped newlines, e.g. for #define. This has previously led to long diffs in the commit history. 2026-02-04 19:31:28 +01:00
mbedtls Revert "SCons: Add CPPEXTPATH for external includes" 2025-10-06 13:09:22 -05:00
meshoptimizer
mobile_vr Move server files into their subfolders 2025-09-30 19:39:39 -07:00
mono CI: Enable Ruff preview options; bump version 2026-02-05 12:20:10 -06:00
mp3 Replace minimp3 with dr_mp3 2025-12-05 18:54:25 -03:00
msdfgen msdfgen: Update to 1.13 2025-12-12 22:39:53 +01:00
multiplayer Don't right-align escaped newlines, e.g. for #define. This has previously led to long diffs in the commit history. 2026-02-04 19:31:28 +01:00
navigation_2d Don't right-align escaped newlines, e.g. for #define. This has previously led to long diffs in the commit history. 2026-02-04 19:31:28 +01:00
navigation_3d Don't right-align escaped newlines, e.g. for #define. This has previously led to long diffs in the commit history. 2026-02-04 19:31:28 +01:00
noise Don't right-align escaped newlines, e.g. for #define. This has previously led to long diffs in the commit history. 2026-02-04 19:31:28 +01:00
objectdb_profiler Move RuntimeNodeSelect to its own files 2026-01-29 11:02:25 -03:00
ogg Revert "SCons: Add CPPEXTPATH for external includes" 2025-10-06 13:09:22 -05:00
openxr Merge pull request #115935 from Repiteo/style/inc-to-h 2026-02-06 08:17:55 -06:00
raycast Revert "SCons: Add CPPEXTPATH for external includes" 2025-10-06 13:09:22 -05:00
regex Document RegEx.create_from_string() in RegEx class description 2025-12-21 02:26:57 +01:00
svg Revert "SCons: Add CPPEXTPATH for external includes" 2025-10-06 13:09:22 -05:00
text_server_adv Merge pull request #115949 from bruvzg/ts_clamp_size 2026-02-06 08:17:57 -06:00
text_server_fb Merge pull request #115949 from bruvzg/ts_clamp_size 2026-02-06 08:17:57 -06:00
tga Don't right-align escaped newlines, e.g. for #define. This has previously led to long diffs in the commit history. 2026-02-04 19:31:28 +01:00
theora Merge pull request #109433 from KoBeWi/hastension 2025-10-31 09:23:30 -05:00
tinyexr Add missing cstdlib include for EXIT_SUCCESS and free 2025-12-16 11:02:07 +01:00
upnp Fix UPNP code sample using OK constant incorrectly 2026-01-29 01:53:57 +01:00
vhacd Revert "SCons: Add CPPEXTPATH for external includes" 2025-10-06 13:09:22 -05:00
vorbis AudioStreamOggVorbis: only show invalid comment warning in Editor 2025-10-24 09:51:44 -07:00
webp libwebp: Update to 1.6.0 2025-12-12 22:51:19 +01:00
webrtc Style: Convert *.gen.inc to *.gen.h 2026-02-05 19:47:56 -06:00
websocket Don't right-align escaped newlines, e.g. for #define. This has previously led to long diffs in the commit history. 2026-02-04 19:31:28 +01:00
webxr Use const ref parameters in the Web modules 2025-09-28 08:13:13 -07:00
xatlas_unwrap Revert "SCons: Add CPPEXTPATH for external includes" 2025-10-06 13:09:22 -05:00
zip [ZIPPacker] Add support for Unix permissions and modification time. 2026-02-06 11:46:26 +02:00
modules_builders.py CI: Enable Ruff preview options; bump version 2026-02-05 12:20:10 -06:00
register_module_types.h GDExtension: Store source of gdextension_interface.h in JSON 2025-11-11 14:58:45 -06:00
SCsub LSP: Rework management of client owned files 2025-11-22 19:17:15 +01:00