I'm trying to bend a simple snake-like model (see the figures) using a curve in order to tune the shape for my needs. I first tried to use the curve modifier, but since I'm already given a mesh with deformed axis it didn't work as expected. I next thought of using the lattice modifier, deformed itself by the curve I set, i.e. I first bend the lattice to match the form of my mesh (using a Bezier curve) and then apply it as a modifier to my mesh.
Unfortunately, it didn't work either: the lattice twists and squeezes the shape the way I don't want (see the figure).
What am I doing wrong? How to make the mesh deformation follow the curve I specify?