You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In an AnimationTree (State Machine), when a Skeleton3D is posed/deformed through an animation, and the animation player travels to an empty animation (or an animation that does not contain keyframes for the bones of the Skeleton), the whole Skeleton3D is reset to its base pose.
The same does however not happen when only using an AnimationPlayer.
Expected Result (using an AnimationPlayer):
Desktop.2023.04.13.-.19.44.56.02_Trim.mp4
Playing the empty animation after the other one simply keeps the deformation of the Skeleton.
Actual Result (AnimationTree):
Desktop.2023.04.13.-.19.44.17.01_Trim.mp4
Playing the empty animation resets the Skeleton.
Steps to reproduce
Play an animation in the AnimationPlayer state machine that changes the pose of the Skeleton
Play an empty animation (one that does not have keyframes for the Skeletons bones) in the AnimationPlayer state machine
-> the Skeleton3D resets.
Play both animations in the AnimationPlayer
-> no reset.
This might actually be related to, or even caused by #76538, since every time I encountered the bug, the empty animation was inside another AnimationLibrary. I'm gonna do do some further testing to see if that's where the issue is coming from.
Godot version
v4.0.2.stable.official [7a0977c]
System information
Windows 10, Forward+ (Vulkan)
Issue description
In an AnimationTree (State Machine), when a Skeleton3D is posed/deformed through an animation, and the animation player travels to an empty animation (or an animation that does not contain keyframes for the bones of the Skeleton), the whole Skeleton3D is reset to its base pose.
The same does however not happen when only using an AnimationPlayer.
Expected Result (using an AnimationPlayer):
Desktop.2023.04.13.-.19.44.56.02_Trim.mp4
Playing the empty animation after the other one simply keeps the deformation of the Skeleton.
Actual Result (AnimationTree):
Desktop.2023.04.13.-.19.44.17.01_Trim.mp4
Playing the empty animation resets the Skeleton.
Steps to reproduce
-> the Skeleton3D resets.
-> no reset.
Minimal reproduction project
animation_tree_bug.zip
The text was updated successfully, but these errors were encountered: