Exporting animations to unity 3d
ship teleports itself to a different position


That points to an issue with location. If you have keyframes on the location in blender then unity will be applying that part of the animation when you play it. eg you place the ship in unity at x=20 but in blender you have a keyframe that says x=0 then unity will move it to x=0

As you want the ship to move up and down then you may want keyframes on the z-axis but remove the x and y location keyframes.