How to adjust character rotation to align with movement ?

I solved the problem using set world rotation and type -90 in Z