How to align idle state machine with the end of animation sequence?

my character starts the game sleeping, then gets up, and when the “get up” animation sequence finishes playing in my state machine, it goes to the next state which is a Idle/walk/run blend space state.

however, I had to rotate my character movement for the sleep animation to be aligned correctly:

so when the animation stops playing, it pops at the opposite orientation:

I tired changing the transform back to initial after the “get up” animation stops playing like this:

but it still pops, just in the same place now:

I tried setting root motion in my “get up” animation sequence, but then it moves all over the place.

how can I make this align smoothly?

Could you show the skeleton of the character when it’s on the bed?
Where is the root bone pointing while the character is sleeping?
Is it parallel to the bed while the character is sleeping and then you rotate it to be at a 90 deg angle before the character stands up?

You seem to be rotating only by 25 degrees in the bp.
You could also try setting the player controllers rotation in place of the movement component.

The solution may be different if the character moves by an ai controller (point and click) or by a player controller via keyboard / controller (wasd ,arrows)