Open xand00 opened 8 months ago
Probably, this is due to flush the cache caused by Tree changes.
However, as a basic using, frequent reconnection of nodes is not recommended. In the case of the description, the normal setup to use AnimationTree is to switch between two StateMachines by using NodeTransition.
Tested versions
Reproducible in Godot 4.3 dev 3, Godot v4.2.1.stable
System information
Godot v4.2.1.stable - Windows 10.0.22621 - Vulkan (Forward+) - dedicated Radeon RX 590 Series (Advanced Micro Devices, Inc.; 31.0.21902.5) - 12th Gen Intel(R) Core(TM) i5-12400F (12 Threads)
Issue description
I have such AnimationTree root_node:
I want to replace AnimationNodeStateMachine with another AnimationNodeStateMachine during runtime
I tried exporting my moveset
and then replace it and reconnect with my blend node but i get t-pose
also i tried to reconnect node, but it has the same result:
Steps to reproduce
attack with LMB change moveset with "C"
If you connect moveset_2 with Blend2 before starting game, then this way animation will change without issues, but if you change moveset with "C", then animation will break
there are two ways in player's script, you can comment current and uncomment other one:
Minimal reproduction project (MRP)
Animation Test.zip