when the character climb the ladder always facing x axis
Consider posting a screenshot of the responsible blueprint.
i upload it
When flying you apply a movement vector - a world direction you want the player to travel. UpVector is 0,0,1. Pawn will interpret that 0,0 to turn your character. You could override it when flying like so:
I did not test it thoroughly but it seemed to work at a glance.
You can right click pins and split them to get XYZ components.
its working , thank you so much
Ah, cool. Glad to hear that!