Space ship controls

Hi. I’m trying to make a space game but i cant seem to be able to make controls for it in bp’s. I tried making it first with thrusters for control but when I did that the ship just glitched a lot. I started off fine but as soon as i got input it started jittering uncontrollably and after a certain angle is reached just launches off uncontrollably (with no other objects in game). Then i tried using the default flying bp and editing it but i couldn’t make the input be relative to the current rotation instead of the 0,0,0 rotation. Is there another way or has anyone had the same problems but fixed it?