Dynamic snake body with bones

I’m making a simple sidescroll game using a snake, and i already got the movement for the head (so the character controller is done) now i want the body to smoothly follow the head like a real snake (not using colliders), i tried giving every bone a script wich follow each other so i created a chain of following bones.
Now what the problem is is that they kinda split up so i get segments following eachother instead of one body smoothly following.
Anyone knows what to do about this? or any other thoughts about it?

HingeJoints would probably give a nice result.

I tried using hinge joints, but if i put them as a chain the character stops moving?