godot/modules/jolt_physics
Jorrit Rouwe 6141e1dcc8 Jolt Physics: Remove sharing shared soft body settings from SoftBody3D
Since the soft body meshes are always copied before simulation, the shared map never actually shared data with anything. This also makes it possible to create the mesh in local space the 2nd time it gets added to a space.

This fixes the following 2 problems:
* Inertia calculation becomes inaccurate when the vertices are far away from the origin. This triggered a harmless assert on 2nd insert.
* The pressure calculations become inaccurate when the vertices are far away from the origin. Since we update the soft body position to the center of mass of all vertices at the end of every physics update, this problem lasted only for a single frame after reinserting and could cause a little jolt.
2025-11-11 21:19:48 +01:00
..
joints Merge pull request #107273 from DexterFstone/add-game-speed-controls 2025-10-06 09:06:24 -05:00
misc Style: Replace header guards with #pragma once 2025-03-07 17:33:47 -06:00
objects Jolt Physics: Remove sharing shared soft body settings from SoftBody3D 2025-11-11 21:19:48 +01:00
shapes Move server files into their subfolders 2025-09-30 19:39:39 -07:00
spaces Move server files into their subfolders 2025-09-30 19:39:39 -07:00
config.py Linux: Drop ppc32 (32-bit PowerPC) architecture support 2025-05-14 10:22:12 +02:00
jolt_globals.cpp Jolt: Add null checks to jolt_free and jolt_aligned_free 2025-11-04 08:43:55 -06:00
jolt_globals.h Style: Replace header guards with #pragma once 2025-03-07 17:33:47 -06:00
jolt_physics_server_3d.cpp Move server files into their subfolders 2025-09-30 19:39:39 -07:00
jolt_physics_server_3d.h Move server files into their subfolders 2025-09-30 19:39:39 -07:00
jolt_project_settings.cpp Core: Cleanup headers in core/config 2025-10-06 09:20:56 -05:00
jolt_project_settings.h Remove Jolt Physics project setting "Areas Detect Static Bodies" 2025-06-03 09:52:57 +02:00
register_types.cpp Move server files into their subfolders 2025-09-30 19:39:39 -07:00
register_types.h Style: Replace header guards with #pragma once 2025-03-07 17:33:47 -06:00
SCsub Revert "SCons: Add CPPEXTPATH for external includes" 2025-10-06 13:09:22 -05:00