1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-21 14:57:09 +00:00
Commit Graph

47 Commits

Author SHA1 Message Date
Mikael Hermansson
f539d0a447 Remove emitting of error in JoltBody3D::_exit_all_areas 2025-05-06 11:36:22 +02:00
Thaddeus Crews
e939aefe2f Merge pull request #105748 from mihe/jolt/body-pointer
Remove no-op locking in Jolt Physics module
2025-05-05 11:24:10 -05:00
Thaddeus Crews
01fc9aee6c Core: Modernize C headers with C++ equivalents 2025-05-02 08:23:01 -05:00
Lukas Tenbrink
91362a61da Simplify StringName to bool conversions.
Move `mutex` include of `string_name.h` to `string_name.cpp`.
2025-04-30 16:59:34 +02:00
Mikael Hermansson
2b88477efc Remove no-op locking in Jolt Physics module 2025-04-29 12:23:24 +02:00
Thaddeus Crews
3947cbe3b2 Merge pull request #104386 from Repiteo/core/cpp-math
Core: Replace C math headers with C++ equivalents
2025-04-27 19:21:22 -05:00
Thaddeus Crews
2d3bdcac35 Merge pull request #105470 from clayjohn/RID-owner-limit
Increase chunk limit for known problematic RID_Owners.
2025-04-18 12:21:30 -05:00
clayjohn
941ad15724 Increase chunk limit for known problematic RID_Owners.
The default limit is fine for most RID_Owners but 3d instances, CanvasItems, and physics bodies need a higher limit.

There is a small memory cost to increasing the limit, so it should only be done where needed.
2025-04-16 17:03:47 -07:00
Thaddeus Crews
ad40939b6f Core: Replace C math headers with C++ equivalents
- Minor restructuring to ensure `math_funcs.h` is the central point for math functions
2025-04-16 15:49:02 -05:00
Thaddeus Crews
94282d88f9 Core: Use Math namespace for constants 2025-04-10 16:29:30 -05:00
Thaddeus Crews
171187d1aa Merge pull request #101011 from aaronfranke/limit-max-contacts-reported
Place a hard limit on the `max_contacts_reported` property in 2D/3D physics
2025-04-09 18:11:53 -05:00
Thaddeus Crews
2fe029ded8 Merge pull request #104449 from mihe/jolt/v5.3.0
Jolt: Update to 5.3.0
2025-04-04 09:29:20 -05:00
Thaddeus Crews
f25fc34439 SCons: Add CPPEXTPATH for external includes 2025-04-02 07:29:08 -05:00
Aaron Franke
a5de242a2f Place a hard limit on the max_contacts_reported property 2025-03-29 01:17:55 -07:00
Michael Alexsander
5ad414d046 Allow to compile templates without physics servers 2025-03-28 11:00:44 -03:00
Mikael Hermansson
4b5661758f Fix shape always being zero with get_rest_info when using Jolt Physics 2025-03-25 12:35:01 +01:00
Thaddeus Crews
f09ee0171a Style: Begin integrating simple .clangd fixes 2025-03-22 13:24:35 -05:00
Mikael Hermansson
5d00161040 Jolt: Update to 5.3.0 2025-03-21 17:17:55 +01:00
kobewi
10f6c01b9c Remove ABS in favor of Math::abs 2025-03-19 13:52:40 +01:00
metakunt
0c25ac8d44 Improve Jolt module initialization style 2025-03-18 13:53:30 +01:00
Mikael Hermansson
3603a5a9dd Fix ConcavePolygonShape3D always enabling backface_collision when using Jolt Physics 2025-03-18 12:26:31 +01:00
Thaddeus Crews
768d75a248 Merge pull request #101254 from mihe/jolt/better-settings
Refactor Jolt-related project settings to only be loaded as needed
2025-03-13 08:57:43 -05:00
Thaddeus Crews
324512e11c Style: Replace header guards with #pragma once 2025-03-07 17:33:47 -06:00
Mikael Hermansson
62e8b1e5fd Fix broken negative scaling when using Jolt Physics 2025-03-02 01:14:19 +01:00
Mikael Hermansson
1006fa9c42 Skip Object::to_string when Jolt Physics is on separate thread 2025-02-11 22:55:32 +01:00
Mikael Hermansson
5d2a54e6b1 Improve performance of certain physics queries when using Jolt Physics 2025-02-11 11:52:05 +01:00
Thaddeus Crews
b7deb853c9 Merge pull request #102029 from mihe/jolt/area-mass-properties
Override mass properties for `Area3D` when using Jolt Physics
2025-01-28 09:03:40 -06:00
Thaddeus Crews
e5498020b6 Merge pull request #101815 from mihe/jolt/no-post-step
Refactor post-step operations in Jolt module to be done as needed
2025-01-26 11:49:21 -06:00
Mikael Hermansson
f380b00351 Override mass properties for Area3D when using Jolt Physics 2025-01-25 18:15:50 +01:00
Mikael Hermansson
a30410bbf5 Refactor post-step operations in Jolt module to be done as needed 2025-01-25 12:22:30 +01:00
Mikael Hermansson
3b78ff564a Refactor Jolt-related project settings to only be loaded as needed 2025-01-25 12:18:52 +01:00
Mikael Hermansson
f4288fb349 Fix kinematic bodies not synchronizing state when using Jolt Physics 2025-01-19 16:18:14 +01:00
Rémi Verschelde
a2971985e5 Merge pull request #101189 from mihe/jolt/defer-static-compound
Improve performance of changing compound shapes when using Jolt Physics
2025-01-13 20:22:04 +01:00
Rémi Verschelde
74682f9383 Merge pull request #101231 from mihe/jolt/init-debug-count
Fix debug contact count not being initialized when using Jolt Physics
2025-01-10 23:06:07 +01:00
Mikael Hermansson
d6b822c891 Cache value of Jolt Physics project setting bounce_velocity_threshold 2025-01-07 18:35:04 +01:00
Mikael Hermansson
174a2b6593 Fix debug contact count not being initialized when using Jolt Physics 2025-01-07 17:16:59 +01:00
Mikael Hermansson
053d92401e Improve performance of changing compound shapes when using Jolt Physics 2025-01-06 21:43:49 +01:00
Rémi Verschelde
5a8b7188af Merge pull request #101044 from mihe/jolt/revert-100533
Revert "Stop reporting contacts for sleeping bodies when using Jolt Physics"
2025-01-03 00:50:13 +01:00
Mikael Hermansson
7bed84c165 Revert "Stop reporting contacts for sleeping bodies when using Jolt Physics"
This reverts commit 5bbdb4a770.
2025-01-02 20:17:05 +01:00
Mikael Hermansson
7beaddc9c0 Improve performance with many static/sleeping bodies when using Jolt Physics 2025-01-01 21:30:02 +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
Thaddeus Crews
3a12fc89b6 Merge pull request #100473 from opsocket/fix-rigid-bodies-damping
Update damping values for jolt rigid bodies on mode switch at runtime
2024-12-19 19:59:39 -06:00
opsocket
0dd072b460 🐛 enforce bodies damping recomputation on mode switch at runtime 2024-12-18 16:07:04 -05:00
Mikael Hermansson
5bbdb4a770 Stop reporting contacts for sleeping bodies when using Jolt Physics 2024-12-17 23:20:00 +01:00
Mikael Hermansson
f6126badba Make RID allocation thread-safe when using Jolt Physics 2024-12-13 00:39:42 +01:00
Rémi Verschelde
0ba875ec29 Jolt: Fix multiple definition LTO linking issue with mingw-gcc 2024-12-12 21:31:34 +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