Root motion without AnimationTree

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Pirgah

I had to give up on using AnimationTree since it prevented me from adding things such as hitstop (since I can’t pause an animation played from an animationtree or even reference that animation in any way besides getting it’s name as string), instead simply using AnimationPlayer.play() in code.
The problem is that I’ve learned that root motion is basically exclusive to AnimationTree, and cant be done easily without AnimationTree. I’ve been trying to code root motion manually by having the player snap to the position of a root bone attachment, but am now noticing that Godot seems to be doing something behind the scenes to keep the root bone in place during animations with root motion while moving everything else.
Is there really no way to add root motion to an AnimationPlayer?