snail animation

Hi, iam Prakash.
Iam trying to create a Snail animation, which is moving in a rock surface. So it's lower portion of the body should deform according to the rock surface.
Is there any script which can help me for this.
Thank you,

-Prakash.