I added wall jumping, but the character doesn't turn around to face the opposite direction of the wall when jumping off

hello, I have a wall sliding and wall jump mechanic for 3rd person character, where I want the character to turn around after jumping

but instead of turning around to face the opposite direction from the wall, the character jumps always facing the same direction in the world no matter what wall I jump from. Like always facing south.

The turning around stuff is after ‘launch character’ in the second bottom picture, idk if any other code affects it?
there is another 180 Z turn thingy in the top picture, idk what it really does as I just followed a tutorial.
Press “open in new tab” to watch the images in bigger resolution.

I have an animation for the wall sliding before jumping too, idk if that is important to this.