How to make the yaw and pitch be affected by Roll?

I am currently working on a game where the character uses a spaceship, for controlling this spaceship the yaw, Roll and pitch are controlled using axis values, I’ve been trying to do this but, when the user rotates the roll, the yaw and pitch are obviously unnaffected, this means that the character may be sideways but the pitch and yaw still work as if the character is upright. How then do I make it so that the yaw/pitch are affected by the roll of the Character, the very simplistic blueprint for this attached below.