1
0
Fork 0
Commit Graph

10 Commits

Author SHA1 Message Date
Jorrit Rouwe 1daf9893ec Fixed bug in ManifoldBetweenTwoFaces
Fixed bug in ManifoldBetweenTwoFaces which would not find the correct manifold in case face 1 had 3 or more vertices and face 2 only 2. E.g. for a box resting the long edge of a cylinder this would mean that only a single contact point was found instead of 2 (the other way around would work fine).

Fixes godotengine/godot#110479
2025-09-14 11:01:00 +02:00
Mikael Hermansson e2985a2e1f Fix crash in Jolt Physics when switching scenes in editor
Co-authored-by: Jorrit Rouwe <jrouwe@gmail.com>
2025-07-03 16:45:53 +02:00
Mikael Hermansson 89f9a23d9e Batch the adding of Jolt Physics bodies
Co-authored-by: Jorrit Rouwe <jrouwe@gmail.com>
2025-06-14 14:11:07 +02:00
Mikael Hermansson 9cea7ebc91 Fix SCU build issues related to Jolt Physics 2025-05-13 12:34:55 +02:00
Jorrit Rouwe 07fcb82958 32-bit MinGW g++ doesn't call the correct overload for the new operator when a type is 16 bytes aligned.
It uses the non-aligned version, which on 32 bit platforms usually returns an 8 byte aligned block. We therefore default to 16 byte aligned allocations when the regular new operator is used.

Fixes: godotengine/godot#105455
2025-04-23 22:12:43 +02:00
Mikael Hermansson 5d00161040 Jolt: Update to 5.3.0 2025-03-21 17:17:55 +01:00
Jorrit Rouwe 3e608b8b14 No longer limiting max voided features/delayed results 2025-02-09 11:52:19 +01:00
Mikael Hermansson 41afe2de56 Update Jolt Physics `BoxShape` to allow for zero-sized boxes 2025-01-22 23:46:28 +01:00
Rémi Verschelde 4727f0707b
Jolt: Update to commit f094082aa, adding RISC-V, PPC64 and LoongArch support
Fixes #100557.
2024-12-21 15:15:50 +01:00
Mikael Hermansson d470c2ac6a Add Jolt Physics as an alternative 3D physics engine
Co-authored-by: Jorrit Rouwe <jrouwe@gmail.com>
2024-12-11 13:57:25 +01:00