godot/modules/jolt_physics/objects
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
..
jolt_area_3d.cpp Improve performance for shapeless objects when using Jolt Physics 2025-07-03 14:14:00 +02:00
jolt_area_3d.h Move server files into their subfolders 2025-09-30 19:39:39 -07:00
jolt_body_3d.cpp Fix contacts not being reported properly when using Jolt Physics 2025-07-12 14:20:38 +02:00
jolt_body_3d.h Fix contacts not being reported properly when using Jolt Physics 2025-07-12 14:20:38 +02:00
jolt_group_filter.cpp Add Jolt Physics as an alternative 3D physics engine 2024-12-11 13:57:25 +01:00
jolt_group_filter.h Style: Replace header guards with #pragma once 2025-03-07 17:33:47 -06:00
jolt_object_3d.cpp Batch the adding of Jolt Physics bodies 2025-06-14 14:11:07 +02:00
jolt_object_3d.h Remove no-op locking in Jolt Physics module 2025-04-29 12:23:24 +02:00
jolt_physics_direct_body_state_3d.cpp Fix move_and_slide forcing synchronization with physics thread 2025-08-14 18:58:36 +02:00
jolt_physics_direct_body_state_3d.h Move server files into their subfolders 2025-09-30 19:39:39 -07:00
jolt_shaped_object_3d.cpp Improve performance for shapeless objects when using Jolt Physics 2025-07-03 14:14:00 +02:00
jolt_shaped_object_3d.h Improve performance for shapeless objects when using Jolt Physics 2025-07-03 14:14:00 +02:00
jolt_soft_body_3d.cpp Jolt Physics: Remove sharing shared soft body settings from SoftBody3D 2025-11-11 21:19:48 +01:00
jolt_soft_body_3d.h Jolt Physics: Remove sharing shared soft body settings from SoftBody3D 2025-11-11 21:19:48 +01:00