  We study the three-dimensional evolution of a viscous protoplanetary disc
which is perturbed by a passing star on a parabolic orbit. The aim is to test
whether a single stellar flyby is capable to excite significant disc
inclinations which would favour the formation of so-called misaligned planets.
We use smoothed particle hydrodynamics to study inclination, disc mass and
angular momentum changes of the disc for passing stars with different masses.
We explore different orbital configurations for the perturber's orbit to find
the parameter spaces which allow significant disc inclination generation.
Prograde inclined parabolic orbits are most destructive leading to significant
disc mass and angular momentum loss. In the remaining disc, the final disc
inclination is only below $20^\circ$. This is due to the removal of disc
particles which have experienced the strongest perturbing effects. Retrograde
inclined parabolic orbits are less destructive and can generate disc
inclinations up to $60^\circ$. The final disc orientation is determined by the
precession of the disc angular momentum vector about the perturber's orbital
angular momentum vector and by disc orbital inclination changes.
  We propose a sequence of stellar flybys for the generation of misalignment
angles above $60^\circ$. The results taken together show that stellar flybys
are promising and realistic for the explanation of misaligned Hot Jupiters with
misalignment angles up to 60\degr.
