Hello, I'm new to godot and I'm feeling really stupid right now as I think this is probably a rather easy issue but I need some help, I don't know if I'm missing something really obvious or I'm approaching this the wrong way.
I have a player scene with a KinematicBody2D as the tree root, with sprite, collision and such as children. I want to make a climb ledge animation, so I thought the best way to do it was to just use the animation player and change there my sprite frames and its position, and update the collision as well in each frame. So far so good, but once I finish my animation, I want to change to the default idle animation, but this changes my position back to the position before playing the climb ledge animation. I've tried using a trigger when the animation finish to play the idle animation and change the player position using the translate function but these two things are not done at the same exact time so you can see a strange camera jump for one frame.
What is the proper way to update the position of the player when using animations? I really don't know what I'm really missing to be honest.