Commit graph

1064 commits

Author SHA1 Message Date
Rémi Verschelde
9c7bea6cda
Merge pull request #113140 from LanzaSchneider/fix-animation-mixer-invalid-cache-spam
Fix AnimationMixer error spam by respecting cache validity on invalid `root_node`
2025-11-26 23:44:05 +01:00
LanzaSchneider
d968c3e5d6 Fix AnimationMixer error spam by respecting cache validity on invalid root_node 2025-11-25 22:48:37 +08:00
Thaddeus Crews
d0727a39b6
Merge pull request #113039 from xuhuisheng/dev/animation-map
Fix AHashMap realloc cause AnimationPlayer crash
2025-11-25 07:06:56 -06:00
xuhuisheng
6efe6aa60c Fix AHashMap realloc cause AnimationPlayer crash 2025-11-25 17:49:18 +08:00
David Snopek
090a4540b7 Use RequiredParam and RequiredResult in a handful of places in order to test 2025-11-24 12:12:10 -06:00
Thaddeus Crews
55c93555e8
Merge pull request #112054 from vaner-org/oneshot-abort-on-interruption
Add "Abort on Reset" property to AnimationNodeOneShot
2025-11-24 10:21:33 -06:00
Thaddeus Crews
a56260773b
Merge pull request #107423 from TokageItLab/blend_with_rest
Add `interpolate_via_rest()` static func to Animation class
2025-11-24 10:21:26 -06:00
Thaddeus Crews
4ce5f9cbde
Merge pull request #112571 from TokageItLab/change-line-finish-anim
Move the line of calling `animation_finished` signal to ensure stopping
2025-11-21 18:37:37 -06:00
Silc Lizard (Tokage) Renew
4f255fa7d7 Add interpolate_via_rest static func to Animation class 2025-11-22 07:52:32 +09:00
vaner-org
de4979fcaf Abort OneShot if previously interrupted 2025-11-22 03:05:31 +05:30
Thaddeus Crews
b51320f22e
Merge pull request #112450 from TokageItLab/fix-oneshot-reset
Fix NodeOneShot doesn't reset correctly
2025-11-21 14:46:43 -06:00
Thaddeus Crews
5519dba0d6
Merge pull request #110502 from TokageItLab/animlib-without-dict
Change AnimationLibrary serialization to avoid using Dictionary
2025-11-14 17:16:47 -06:00
Thaddeus Crews
f81b2aa376
Merge pull request #111517 from chocola-mint/fix-#111514
Seek to beginning of section if current playback position is after its end
2025-11-10 08:19:59 -06:00
Silc Lizard (Tokage) Renew
e292217f36 Move the line of calling animation_finished signal to ensure stopping 2025-11-09 14:34:14 +09:00
Silc Lizard (Tokage) Renew
2f029bc7bf Fix NodeOneShot doesn't reset correctly 2025-11-06 05:51:48 +09:00
Silc Lizard (Tokage) Renew
afd12e32ad Make AnimationLibrary serialization unuse Dictionary 2025-11-05 11:36:42 +09:00
Rémi Verschelde
1025d6f5c2
Merge pull request #112047 from TokageItLab/fix-pp
Separate branching ping-pong time and delta
2025-11-01 19:05:39 +01:00
Thaddeus Crews
597b0a2f03
Merge pull request #109986 from SomeRanDev/animation_node_state_machine_playback_expansion
Expose `get_fading_...` methods for `AnimationNodeStateMachinePlayback`
2025-10-28 12:19:20 -05:00
Silc Lizard (Tokage) Renew
7768deaa04 Separate branching ping-pong time and delta 2025-10-26 20:10:43 +09:00
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
chocola-mint
e92e139302 Seek to beginning of section if current playback position is after its end 2025-10-12 01:10:02 +09: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
Maybee Rezbit
dc8f7b4f5d Expose "fade" methods for AnimationNodeStateMachinePlayback 2025-08-28 13:54:42 -04: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