How do I use root motion rotation of Mixamo animations

Godot Version

v4.2.stable.mono.official [46dc27791]

Question

For my 3D project I’m trying to make an NPC react to a player. If the player gets close, the NPC needs to rotate towards the player. From Mixamo I downloaded a couple of animations (idle, walk, run, etc) which work fine with root motion: the NPC-models feet moves pretty realistically. So far so good!

But now the thing I’m struggling with: I try to use a turn left and turn right animation, but I can’t figure out how to use the rotation of this animation. When I import the Mixamo animations into Blender, there seems to be no rotation motion on the root bone. (I’m using the Mixamo Root plugin in Blender)

What is the proper way to use root motion of an animation that is rotating? Is there some example project that makes use of it that I can download?

Bonus question:
The animation makes a turn of 90 degrees. Let’s say the angle between the NPC direction and the player position is 45 degrees, how do I play the animation and make it stop when it faces the player?

Okay, so far I’ve figured out that in Blender I can copy the rotation keyframes of the hip bone to the root bone and delete them from the hip bone. This way the root bone will do the rotation, and Godot actually shows the rotation properly in the RootMotionView node.

I’m still struggling a bit to make it look realistic, but at least this is something I can work with.