Currently several functions check AnimationPlayer.get_current_animation() to e.g. start playback or find the animation to retarget. This function returns an empty String if the animation is not playing rightnow or has ended and is not looped. Since the Inspector in Godot also bugs out on all input field while an animation is running this creates the annoying requirement to constantly stop and start animations manually for retargeting.
Changing to AnimationPlayer.get_assigned_animation() makes it easier as this function also returnes the previous running animation if playback is stopped. It still requires that the animation was loaded and started ones in the AnimationPlayer. If in the editor the animationtrackeditor panel must be opened ones to set an assigned_animation.
Currently several functions check
AnimationPlayer.get_current_animation()
to e.g. start playback or find the animation to retarget. This function returns an empty String if the animation is not playing rightnow or has ended and is not looped. Since the Inspector in Godot also bugs out on all input field while an animation is running this creates the annoying requirement to constantly stop and start animations manually for retargeting.Changing to
AnimationPlayer.get_assigned_animation()
makes it easier as this function also returnes the previous running animation if playback is stopped. It still requires that the animation was loaded and started ones in the AnimationPlayer. If in the editor the animationtrackeditor panel must be opened ones to set an assigned_animation.