This is a technique I needed for my new game. So I wanted to share my code with you.
Code: https://gist.github.com/ditzel/ae6ebc115d767da9a5a1e1f70dee27e5
Obi Rope: https://www.assetstore.unity3d.com/#!/content/55579?aid=1100l3GSY
Obi Cloth: https://www.assetstore.unity3d.com/#!/content/81333?aid=1100l3GSY
Source