AH-247 trying to solve bug, but having trouble with it.

Getting the frame of reference(if it is needed?) So that I in theory could rotate the direction of how the force should be applied so instead of moving in only x and z, it should be abnle to move slightly in y too.