Root Animation not Applying using Root Bone

Godot 4

I have an animation from Mixamo that by default moves the character forward, so I am trying to apply root motion to the root bone so it stays still. I followed this tutorial, but after adding the root bone, the model still moves.

Video of Problem: https://youtu.be/HrW1xCK-KR4

Tutorial I used: https://www.youtube.com/watch?v=fq0hR2tIsRk

Thank You

didn’t watch the tutorial to the end because I don’t have time, but importing the model using the addon is the correct way.

but then, in godot, you need an AnimationPlayer and AnimationTree.
in one you need to set the root bone, it’s an option at the bottom.
then add a Root Motion View node to see if it’s working.

and THEN you need a script to pass the root motion to the CharacterBody3D.
here’s code:

func _physics_process(delta: float) -> void:
	if not is_on_floor():
		velocity += get_gravity() * delta
	velocity = quaternion * (anim.get_root_motion_position() / delta)
	move_and_slide()

applying rotation is more complicated and currently not possible with Mixamo animations.

I also recommend using the animations as an AnimationLibrary and retargetting to the model.

Since you mentioned that rotation wasn’t possible with Miximo, I decided to make some animations of my own and now have some extremely basic animations. Thank you for your help!