Aaron Franke
3d1c9fd5de
Move server files into their subfolders
2025-09-30 19:39:39 -07:00
Aaron Franke
9fbf5808a0
Rename server "free" functions to "free_rid" to match exposed API
2025-09-30 16:52:25 -07:00
Thaddeus Crews
035f5d3055
Merge pull request #110763 from Ivorforce/object-derives-from
...
Use `AncestralClass` to speed up `Object::cast_to` when possible.
2025-09-22 13:28:45 -05:00
Lukas Tenbrink
96619d46a1
Use AncestralClass to speed up Object::cast_to when possible.
2025-09-22 13:21:51 +02:00
kobewi
98a4b46b6a
Add more PROPERTY_HINT_GROUP_ENABLE uses
2025-09-20 21:11:12 +02:00
Thaddeus Crews
149a4b4ca1
Merge pull request #107868 from lawnjelly/quick_ancestry4
...
Provide quick access to `Object` ancestry
2025-09-20 13:41:39 -05:00
Mikael Hermansson
6c907c2d37
Fix move_and_slide forcing synchronization with physics thread
...
Co-authored-by: Ricardo Buring <ricardo.buring@gmail.com >
2025-08-14 18:58:36 +02:00
Thaddeus Crews
db28859774
Merge pull request #107591 from timothyqiu/group-enable-default
...
Make `PROPERTY_HINT_GROUP_ENABLE` hide properties by default
2025-06-24 18:34:28 -05:00
lawnjelly
583c72f999
FTI - Change SceneTree global setting to static
...
Also fixup FTI configuration warnings so that they only output when the project is using FTI.
2025-06-23 10:19:24 +01:00
lawnjelly
14a814586a
Provide quick access to Object ancestry
2025-06-23 07:11:11 +01:00
Haoyu Qiu
a7ab249a2a
Make PROPERTY_HINT_GROUP_ENABLE hide properties by default
2025-06-16 20:03:49 +08:00
LuoZhihao
8ba4656ea3
Compile out editor-only logic within validate_property in games
2025-06-12 12:54:19 +08:00
smix8
58c11e557b
Fix CapsuleShape2D outline for navmesh baking
...
Fixes CapsuleShape2D outline for navmesh baking
2025-06-07 20:32:07 +02:00
Thaddeus Crews
f3f76df0cd
Merge pull request #103504 from lawnjelly/fti_warn_physics_non_interp4
...
Physics Interpolation - Add editor configuration warnings
2025-05-26 11:24:39 -05:00
Logan Detrick
1a427d3dec
Add feature hint string and "On" text for checkable groups
2025-05-21 14:56:55 -07:00
Thaddeus Crews
1c4b660312
Merge pull request #96611 from Dynamic-Pistol/master
...
Add `PROPERTY_HINT_INPUT_NAME` for use with `@export_custom` to allow using input actions
2025-05-13 16:22:25 -05:00
funkysandwich
721b1a3d64
Fix AudioStreamPlayer3D's layer_mask property using the wrong property hint
...
Also remove unnecessary physics layer property hints from some bool properties on raycast and shapecast nodes
2025-05-05 10:58:46 -05:00
Dynamic-Pistol
c8fed1e1d0
Add PROPERTY_HINT_INPUT_NAME
...
Added PROPERTY_HINT_INPUT_NAME for StringName based off https://github.com/godotengine/godot-proposals/discussions/7559
2025-04-23 22:23:44 +02:00
lawnjelly
40c05c69f9
Physics Interpolation - Add editor configuration warnings
...
* For physics bodies that are on non-interpolated branches
2025-04-20 10:03:04 +01: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
Pāvels Nadtočajevs
b106dfd4f9
Base accessibility API.
2025-04-08 20:14:28 +03:00
Yufeng Ying
4f4031a675
Replace size() == 0 with is_empty().
2025-04-02 19:18:43 +08:00
Michael Alexsander
556933306a
Allow to compile templates without navigation features
2025-04-01 11:53:35 -03:00
Thaddeus Crews
8f6bb119f4
Merge pull request #100602 from KoBeWi/over_100_changes_in_50_random_files_aka_the_best_kind_of_PR
...
Add templated version of `ObjectDB::get_instance()`
2025-03-31 12:03:47 -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
kobewi
bc9d0c7835
Add templated version of ObjectDB::get_instance()
2025-03-27 15:43:23 +01:00
kobewi
10f6c01b9c
Remove ABS in favor of Math::abs
2025-03-19 13:52:40 +01:00
Thaddeus Crews
324512e11c
Style: Replace header guards with #pragma once
2025-03-07 17:33:47 -06:00
smix8
0ed2cb0439
Make nodes handle their respective navigation source geometry
...
Makes nodes handle their respective navigation source geometry.
2025-01-12 13:14:46 +01:00
Thaddeus Crews
df2b117ec2
Merge pull request #100317 from TCROC/fix-collision-shape-debug-color-breaks-gdextension
...
Fix collision shape debug color breaking GDExtension
2024-12-30 08:58:41 -06:00
A Thousand Ships
a1846b27ea
Improve use of Ref.is_null/valid
...
Use `is_null` over `!is_valid` and vice versa.
2024-12-23 16:35:02 -05:00
Travis Lange
f0c077deb8
fix collision shape debug color breaking gdextension
2024-12-23 15:02:54 -05:00
Yufeng Ying
73d85f46c9
Remove unused headers in scene.
...
Co-authored-by: Thaddeus Crews <repiteo@outlook.com >
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com >
2024-12-24 00:40:09 +08:00
Rémi Verschelde
46c8f8c5c5
Merge pull request #100093 from dalexeev/fix-collision-shape-2d-3d-debug-color
...
Fix `CollisionShape{2D,3D}.debug_color` inconsistencies
2024-12-18 18:23:54 +01:00
smix8
7c84eba663
Add basic editor editing for ConvexPolygonShape2D and ConcavePolygonShape2D
...
Adds basic editor tooling to move the existing points of a ConvexPolygonShape2D or move the segments of a ConcavePolygonShape2D while a CollisionShape2D node is selected.
2024-12-11 02:31:42 +01:00
YoSoyFreeman
72650f9787
Allow apply_floor_snap to preserve the horizontal position after the snapping independently of stop_on_slopes
2024-12-07 23:00:46 +01:00
Danil Alexeev
8bf2afd341
Fix CollisionShape{2D,3D}.debug_color inconsistencies
2024-12-06 15:12:20 +03:00
rune-scape
d58b2e879f
Get rid of easily removable uses of const_cast
2024-12-01 17:50:13 -08:00
A Thousand Ships
26938086eb
Fix a few more super calls in get_configuration_warnings methods
...
A few missed last pass and one incorrect from that pass
2024-11-08 14:58:37 +01:00
Michael Alexsander
58e79bfa9a
Compile certain CanvasItem._edit_*() functions with DEBUG_ENABLED
2024-11-02 15:43:18 -03:00
Thaddeus Crews
9f9ee0c813
SCons: Add unobtrusive type hints in SCons files
2024-09-25 09:34:35 -05:00
Ricardo Buring
7c4c4b9987
Move Godot Physics 2D into a module; add dummy 2D physics server
...
If the module is enabled (default), 2D physics works as it did before.
If the module is disabled and no other 2D physics server is registered
(via a module or GDExtension), then we fall back to a dummy
implementation which effectively disables 2D physics functionality (and
a warning is printed).
The dummy 2D physics server can also be selected explicitly, in which
case no warning is printed.
2024-09-23 17:33:45 +02:00
A Thousand Ships
9dc231366d
Fix super call in various get_configuration_warnings methods
2024-09-05 16:08:35 +02:00
Raul Santos
e47ff98451
Expose ShapeCast{2D,3D}::get_collision_result
2024-08-15 16:20:13 +02:00
Rémi Verschelde
77470740de
Merge pull request #91936 from jsjtxietian/body-connect
...
Avoid duplicate connect in Joint2D and Joint3D `_update_joint`
2024-05-15 12:09:50 +02:00
jsjtxietian
51bc55598c
Avoid duplicate connect in Joint2D::_update_joint and Joint3D
2024-05-15 11:57:51 +08:00
kobewi
413c11357d
Use Core/Scene stringnames consistently
2024-05-13 23:41:07 +02:00
kobewi
a262d2d881
Add shorthand for using singleton string names
2024-05-11 18:53:08 +02:00