Hanging by a piece of string

Hi, i’m wanting to create the effect where an object is hanging by a piece of string. I would really like it to gently sway in the breeze and perhaps move more dramatically when rolled over.

Any help on creating this effect?

thanks,
Alistair