1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00
Commit Graph

1043 Commits

Author SHA1 Message Date
Thaddeus Crews
df4137cd9b Merge pull request #110508 from Olle-Lukowski/fix/emit-anim-finished
Ensure the AnimationPlayer emits animation_finished for every animation
2025-10-23 11:03:51 -05:00
Thaddeus Crews
40eb34833b Merge pull request #111325 from TokageItLab/state-default-st
Make StateMachinePlayback set `Start` state as default in constructor
2025-10-22 13:48:44 -05:00
Thaddeus Crews
60710df3b6 Merge pull request #94047 from KoBeWi/resource_printer
Improve `to_string()` and add it to Resource
2025-10-16 12:48:11 -05:00
scgm0
cbc960c997 Fix some compilation errors 2025-10-14 05:54:58 +08:00
kobewi
e6783dbdd1 Improve to_string() and add it to Resource 2025-10-09 00:54:38 +02:00
Lukas Tenbrink
33689d7beb Remove transitive mesh.h, rendering_server.h and shader.h includes from node.h. 2025-10-08 12:16:52 +02:00
Thaddeus Crews
8276e512d6 Merge pull request #110767 from Ryan-000/Fix-AnimationPlayer-to-use-StringName
Fix AnimationPlayer to use StringName instead of String in the exposed API.
2025-10-07 17:15:06 -05:00
Thaddeus Crews
72cf639020 Merge pull request #111178 from PhairZ/anim-is-paused
Expose `is_valid()` from `AnimationPlayer` to make detecting paused animations possible.
2025-10-07 17:15:04 -05:00
Thaddeus Crews
a1974604fe Merge pull request #108227 from Meorge/bugfix/kill-subtweens
Propagate `Tween.kill()` to subtweens
2025-10-07 11:54:29 -05:00
Rémi Verschelde
1cab5e1b1c Merge pull request #110982 from TokageItLab/fix-rm-animtree-bw
Fix backward/pingpong root motion in AnimationTree
2025-10-07 13:07:06 +02:00
Ryan
35999a16dd Fix AnimationPlayer to use StringName instead of String
Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2025-10-06 16:29:40 -04:00
Silc Lizard (Tokage) Renew
2fb310b182 Make StateMachinePlayback set Start state as default in constructor 2025-10-07 00:34:05 +09:00
Lukas Tenbrink
d6036462b1 Remove hash_map.h include from a_hash_map.h, and remove cross conversion operators. 2025-10-06 17:20:31 +02:00
Seif El-Din Ahmed
2cb1c51038 Expose is_valid() 2025-10-03 18:37:00 +03:00
Silc Lizard (Tokage) Renew
749d9b95b9 Fix backward root motion in AnimationTree 2025-10-03 10:30:57 +09:00
Aaron Franke
3d1c9fd5de Move server files into their subfolders 2025-09-30 19:39:39 -07:00
Thaddeus Crews
af08ab49f7 Merge pull request #107468 from Calinou/editor-animationtree-warn-disabled
Display AnimationTree editor warnings when the node is disabled
2025-09-30 18:35:14 -05:00
Thaddeus Crews
21fd4faf1b Merge pull request #107469 from Ivorforce/vector-localvector-explicit-span-conversions
Remove implicit conversions between `LocalVector` and `Vector`
2025-09-30 11:19:17 -05:00
Malcolm Anderson
9ad608691b Kill subtweens when their parent tween is killed
# Conflicts:
#	scene/animation/tween.h
2025-09-29 15:11:19 -07:00
Thaddeus Crews
54e74142af Merge pull request #110656 from KoBeWi/LocalTweener
Change list of Tweeners from Vector to LocalVector
2025-09-24 09:59:03 -05:00
Michael Alexsander
f16ff829f0 Allow to use sliders for integers in EditorSpinSlider 2025-09-22 11:23:15 -03:00
kobewi
0108e2f82f Change list of Tweeners from Vector to LocalVector 2025-09-19 22:36:07 +02:00
kobewi
d61a337a70 Improve usage of String.split() vs get_slice() 2025-09-19 16:31:55 +02:00
Thaddeus Crews
2557b0da9f Merge pull request #101285 from Nazarwadim/use_LocalVector_in_animation
Use `LocalVector` in `Animation`
2025-09-16 20:28:52 -05:00
Lukas Tenbrink
abe3b481ae Make conversions from LocalVector to Vector explicit. 2025-09-16 21:41:28 +02:00
Olle Lukowski
578d7cd115 Ensure the AnimationPlayer emits animation_finished for every animation 2025-09-14 12:46:17 +02:00
Luo Zhihao
adbd78af91 AnimationTree: Fix libraries is stored 2025-09-11 09:41:22 +08:00
Hugo Locurcio
269ee1204d Display AnimationTree editor warnings when the node is disabled
AnimationTree's Active property isn't the only way to control whether
an AnimationTree can play animations. Node's Process Mode property
also affects it.
2025-07-24 00:08:31 +02:00
kobewi
fd5646856d Remove PropertyTweener start warning 2025-07-08 15:53:53 +02:00
Malcolm Anderson
914480e256 Skip killed/invalid subtween 2025-07-02 10:10:02 -07:00
kobewi
b615c7b3db Block Tween custom_step() during step 2025-06-26 12:27:53 +02:00
Rémi Verschelde
0129180c72 Merge pull request #106567 from TokageItLab/fix-fadeout-dur
Fix fade out duration to extend a bit take into account current delta in NodeOneShot
2025-06-22 11:59:01 +02:00
Nazarii
1964918e46 Use LocalVector in Animation 2025-06-18 18:37:55 +03:00
LuoZhihao
8ba4656ea3 Compile out editor-only logic within validate_property in games 2025-06-12 12:54:19 +08:00
Adam Johnston
d72006119d Add node started/finished signals for animation state machines 2025-06-05 12:09:16 -07:00
Silc Lizard (Tokage) Renew
64e015cb65 Add default paramater for AnimationNode as super class 2025-06-06 02:23:59 +09:00
Rémi Verschelde
e5c8fb8f1d Merge pull request #107005 from TokageItLab/fix-anim-node-param-type
Fix ambiguous AnimationNode's parameter type in default value and make `validate_type_match()` static function
2025-06-05 13:12:43 +02:00
Silc Lizard (Tokage) Renew
678fb63451 Fix ambiguous AnimationNode's parameter type in default value
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2025-06-05 10:02:22 +09:00
LuoZhihao
713ed59a77 Remove unnecessary _validate_property() calling 2025-06-03 21:57:36 +08:00
Silc Lizard (Tokage) Renew
2ffb3fb690 Fix fade out duration to extend a bit take into account current delta 2025-05-19 22:41:42 +09:00
Thaddeus Crews
70fa7fba19 Merge pull request #101792 from TokageItLab/oneshot-scale
Change `NodeOneShot` fading to uses self delta instead of input delta
2025-05-19 08:01:30 -05:00
Silc Lizard (Tokage) Renew
b4ac896c66 Changed NodeOneShot fading so that it does not depend on input delta 2025-05-18 09:27:05 +09:00
Rémi Verschelde
b7f75578db Merge pull request #104419 from Ryan-000/fix_animation_mixer_errors
Remove incorrect errors in AnimationMixer
2025-05-13 01:04:33 +02:00
Thaddeus Crews
0793c626d2 Merge pull request #106111 from Calinou/animationmixer-libraries-use-typed-dictionary
Use a type-hinted dictionary for AnimationLibrary's `libraries` property
2025-05-07 12:48:33 -05:00
kobewi
34b485d62b Remove empty constructors and destructors from scene/ 2025-05-06 14:46:54 +02:00
Hugo Locurcio
006c9bb39a Use a type-hinted dictionary for AnimationLibrary's libraries property
This is done at a editor property hint level so that it doesn't break compatibility.
In other words, the actual `libraries` property exposed to the scripting API
remains an untyped Dictionary.
2025-05-06 00:32:30 +02:00
lawnjelly
f8f350a32a Add GLOBAL_GET cached macros.
GLOBAL_GET is an expensive operation which should not be used each frame / tick.
This PR adds macros which do a cheaper revision check, and only call the expensive GLOBAL_GET when project settings have changed.

Co-authored-by: Lukas Tenbrink <lukas.tenbrink@gmail.com>
2025-04-30 15:08:50 +01:00
Thaddeus Crews
796b9caa09 Merge pull request #105552 from adamwych/expose-get-node-list
Expose `AnimationNode(StateMachine/BlendTree).get_node_list()`
2025-04-27 19:21:26 -05: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
Nazarii
afc923f415 Use AHashMap for RBMap nodes and HashMap input_activity 2025-04-26 13:21:12 +03:00