Commit Graph

2649 Commits

Author SHA1 Message Date
Yaohua Xiong
51b8b74d4b Do not defer PathFollow3D transform updates
Co-authored-by: Yaohua Xiong <xiongyaohua@gmail.com>
2024-09-10 10:35:48 +02:00
Rémi Verschelde
49b725ddcc
Merge pull request #93353 from AThousandShips/config_warning_fix
Fix super call in various `get_configuration_warnings` methods
2024-09-08 23:21:09 +02:00
Rémi Verschelde
aa07333abe
Merge pull request #96114 from BlueCube3310/sh-lightmap-packing
LightmapGI: Pack L1 SH coefficients for directional lightmaps
2024-09-06 22:38:29 +02:00
BlueCube3310
a89f4fa5a9 LightmapGI: Pack L1 SH coefficients for directional lightmaps 2024-09-05 22:46:58 +02:00
A Thousand Ships
9dc231366d
Fix super call in various get_configuration_warnings methods 2024-09-05 16:08:35 +02:00
Malcolm Nixon
7c300d8408 Add warning if XRHandModifier3D used with OpenXR and hand-tracking isn't enabled. 2024-09-05 00:14:55 -04:00
Rémi Verschelde
a1012058dd
Merge pull request #94886 from gturri/dev
Add error checks for bad configuration in `PathFollow2D/3D` `set_progress_ratio`
2024-09-04 18:55:24 +02:00
Guillaume Turri
ea9dff87ae
Add error checks for bad configuration in PathFollow2D/3D set_progress_ratio
When a PathFollow is badly configured it's possible to have code that
call get_progress_ratio just after set_progress_ratio does not return
the value just set, which may be confusing for developer (ie that
    myPathFollow2D.set_progress_ratio(0.5)
    myPathFollow2D.get_progress_ratio()
does not return 0.5)

This commit makes ensures the developer has useful error messages in
such case, to make it easier to troubleshot it.
2024-09-04 18:07:49 +02:00
smix8
a99a1699aa Add option to bake a mesh from animated skeleton pose
Adds option to bake a mesh from animated skeleton  pose.
2024-09-03 22:16:05 +02:00
Rémi Verschelde
d15de6f264
Merge pull request #96292 from AThousandShips/null_check_ref_fix
Cleanup of raw `nullptr` checks with `Ref`
2024-09-03 16:13:55 +02:00
Rémi Verschelde
3c58b64b07
Merge pull request #96270 from TokageItLab/physical-bone-update
Fix physical bone update without simulating
2024-09-03 11:43:39 +02:00
Kasper Arnklit Frandsen
40b9516724 Add cone angle control to particle emission ring shape 2024-09-02 14:35:51 +02:00
A Thousand Ships
194bdde947
Cleanup of raw nullptr checks with Ref
Using `is_valid/null` over checks with `nullptr` or `ERR_FAIL_NULL` etc.
2024-08-31 15:01:09 +02:00
Raul Santos
7fd261c8c1
Expose AudioStreamPlayer{2D,3D}::set_playing and remove AudioStreamPlayer::{2D,3D}::_is_active
- The `_is_active` method seems to be unused, so it was removed.
- The `_set_playing` method is now exposed, as the setter of the `playing` property.
    - The `play` method can't be used as a setter because it takes a `float` parameter instead of a `bool` parameter.
2024-08-30 17:16:46 +02:00
Silc Lizard (Tokage) Renew
f2186eeac0 Fix physical bone update without simulating 2024-08-29 18:29:15 +09:00
Rémi Verschelde
9725c03228
Merge pull request #93900 from TestSubject06/10106/raycast_info_on_wheels
Expose contact point and contact normal on VehicleWheel3D to scripting.
2024-08-29 10:36:30 +02:00
Alula
346cbc7f1f
Add support for compiling with VS clang-cl toolset 2024-08-28 13:30:44 -05:00
TestSubject06
b56a0370c4 Expose contact point and contact normal on VehicleWheel3D
Appease doctool by switching the order of the documentation page entries.

Update doc/classes/VehicleWheel3D.xml

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>

Update doc/classes/VehicleWheel3D.xml

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>

Update doc/classes/VehicleWheel3D.xml

Thanks, didn't see the typo in the suggested change. Brain auto corrected it.

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-08-28 10:28:56 -04:00
Rémi Verschelde
0023cb0d99
Merge pull request #92218 from EspeuteClement/master
Propagate `reset_physics_interpolation` through `RemoteTransform2D/3D`
2024-08-28 00:10:52 +02:00
Fredia Huya-Kouadio
039722a341 Fix invalid Skeleton3D bone pose updates
The issue would cause log spams when trying to update the bone pose position or rotation with an invalid bone index.
2024-08-25 17:04:46 -07:00
Rémi Verschelde
091212b4f1
Merge pull request #93602 from aaronp64/inspector_latency
Improve Editor Inspector/Theme item lookup performance
2024-08-22 00:10:26 +02:00
aaronp64
7593e55527 Improve Editor Inspector/Theme item lookup performance
Changes to reduce the latency between changing node selection in the editor and seeing the new node reflected in the Inspector tab

- Use Vector instead of List for ThemeOwner::get_theme_type_dependencies and related functions
- Use Vector instead of List for ThemeContext::themes, set_themes(), and get_themes()
- Add ClassDB:get_inheritance_chain_nocheck to get all parent/ancestor classes at once, to avoid repeated ClassDB locking overhead
- Update BIND_THEME_ITEM macros and ThemeDB::update_class_instance_items to use provided StringNames for call to ThemeItemSetter, instead of creating a new StringName in each call

These changes reduce the time taken by EditorInspector::update_tree by around 30-35%
2024-08-20 13:39:40 -04:00
Rémi Verschelde
5ebfc8a6ba
Merge pull request #95643 from Flynsarmy/get_bone_attach_skele
Add `BoneAttachment3D::get_skeleton()` method
2024-08-20 11:04:04 +02:00
Rémi Verschelde
a700b2a4a2
Merge pull request #95153 from BastiaanOlij/improve_hand_tracking_settings
Change hand tracking project settings and finetune `show_when_tracked`
2024-08-20 10:02:01 +02:00
Rémi Verschelde
6a9ecdcf0c
Merge pull request #91818 from rburing/fti_multimesh
Physics interpolation: `MultiMesh`
2024-08-20 10:01:46 +02:00
Bastiaan Olij
a8c5117777 Change hand tracking project settings and finetune show_when_tracked 2024-08-20 11:12:52 +10:00
Rémi Verschelde
b1088047a0
Merge pull request #95124 from kleonc/skeleton2d_fix_set_get_always_returning_true
Fix `Skeleton2D.{_set|_get}` always returning true
2024-08-19 14:34:09 +02:00
Ricardo Buring
1728f80e7c Fixed Timestep Interpolation: MultiMesh
Adds fixed timestep interpolation to multimeshes.

Co-authored-by: lawnjelly <lawnjelly@gmail.com>
2024-08-18 17:14:59 +02:00
Flyn San
0df7ee31d2 Add BoneAttachment3D::get_skeleton() method 2024-08-17 09:35:24 +10:00
Rémi Verschelde
28f14102d9
Merge pull request #92944 from smix8/edge_margin_debug
Change 3D navigation edge connection margin debug to only show virtual edge
2024-08-16 23:45:04 +02:00
Rémi Verschelde
0f9925c0f9
Merge pull request #95542 from KoBeWi/go_bind_yourself
Remove empty `bind_methods()`
2024-08-16 14:35:51 +02:00
Rémi Verschelde
a917a2b2f9
Merge pull request #95456 from smix8/navlink_mapchange
Add NavigationLink function to change navigation map
2024-08-16 14:34:49 +02:00
Rémi Verschelde
e526882052
Merge pull request #95386 from kus04e4ek/close-audio
Add `stop_callable` to `AudioStreamPlayerInternal`
2024-08-16 14:33:55 +02:00
Rémi Verschelde
0c956e49ac
Merge pull request #86310 from jirisvd/fix-softbody-reload
Fix `SoftBody3D` pinned points breaking when reloading scene
2024-08-16 14:31:45 +02:00
Rémi Verschelde
a6c350718a
Merge pull request #95548 from TokageItLab/fix-warn-skeleton-modifier
Fix incorrect warning on SkeletonModifier
2024-08-16 10:36:45 +02:00
Rémi Verschelde
987635b508
Merge pull request #95374 from raulsntos/gdextension/expose-property-accessors/ShapeCast
Expose `ShapeCast{2D,3D}::get_collision_result`
2024-08-16 10:35:38 +02:00
Rémi Verschelde
cba8e3bf3d
Merge pull request #95000 from Calinou/lightmapgi-environment-fix-custom-rotation-bake
Fix LightmapGI not taking environment sky rotation into account when baking
2024-08-16 10:35:13 +02:00
Rémi Verschelde
f3ba14be60
Merge pull request #93837 from Calinou/gpuparticles-fix-inherit-velocity-physics
Fix GPUParticles Inherit Velocity breaking with physics movement
2024-08-16 10:34:10 +02:00
Rémi Verschelde
46c6865979
Merge pull request #92391 from rburing/fti_3d
Physics interpolation (3D)
2024-08-16 10:33:37 +02:00
Rémi Verschelde
a3266e28be
Merge pull request #83497 from grenappels/probe_distance_fix
Fix generated light probes placing too close to manual light probes
2024-08-16 10:33:12 +02:00
smix8
e6ff4e56e3 Add NavigationLink function to change navigation map
Adds NavigationLink function to change navigation map.
2024-08-15 22:37:02 +02:00
Raul Santos
e47ff98451
Expose ShapeCast{2D,3D}::get_collision_result 2024-08-15 16:20:13 +02:00
Silc Lizard (Tokage) Renew
4727c4f783 Fix incorrect warning on SkeletonModifier 2024-08-15 16:53:18 +09:00
kobewi
065dd099dd Remove empty bind_methods() 2024-08-15 08:24:32 +02:00
Jiří Švejda
bde8c5977b Fix SoftBody3D pinned points breaking when reloading scene 2024-08-11 19:03:01 +02:00
Kusok
8c7dd3cb61 Add stop_callable to AudioStreamPlayerInternal 2024-08-11 20:27:15 +08:00
A Thousand Ships
602a348ab1
Make Skeleton3D bone simulator an internal child 2024-08-07 11:38:16 +02:00
Hugo Locurcio
661cf1f351
Fix LightmapGI not taking environment sky rotation into account when baking
The sky rotation now affects the baked environment lighting as it should,
making it match how real-time ambient light rendering works.

Co-authored-by: Per Melin <git@melin.net>
2024-08-05 17:54:11 +02:00
kleonc
115cd47fd6 Fix Skeleton2D.{_set|_get} always returning true 2024-08-04 18:44:07 +02:00
jsjtxietian
a8526e68a7 Fix newly baked lightmap can't override previously baked at same path 2024-07-23 12:38:20 +08:00