Mario Galaxy control system, axis orientation advice needed

My character walks in the direction of an arrow pointing in the same direction as the spring arm camera. The issue arises when the camera is staring at the character from a level point of view while the character is at 90 degrees sideways. The character moves in the direction of red with forwards and backwards input and left and right with the yellow.

This game has similar controls but different and the character doesn’t glitch out. What vector or solution is the best? I really want to avoid using tank controls like the oldschool resident evil as it makes it super awkward to control. I got the physics and gravitation all complete just need to finish this control problem.