"Position" & "Rotation" keeps resetting after keying them

Godot Version

Godot_v4.2.2-stable_win64.exe

Question

I have a problem with the Godot AnimationPlayer, I’m trying to animate a CollisionShape2D attached to my CharacterBody2D node, but when I key the CollisionShape2D “Rotation” & “Position” attributes, it keeps resetting back to it’s initial value and not staying where I want them.

Below is a video of the issue I have incase you need visuals:

Why is this happening? Any help will be greatly appreciated, thanks.

The AnimationTree takes precedence over the AnimationPlayer. Modifying an animation while the AnimationTree is active will cause issues. Disable the AnimationTree.active property in the inspector while editing the animation.

1 Like

Oh, you’re a life saver. Thanks and God bless