Galaxy flybys: evolution of the bulge, disc, and spiral arms