That is only if you use code. How about the character movement component?
EDIT ----> Check the ignore Base Rotation