Hi. OpenCollar has collars that are open source. You have to be a group member to get collars, but it is free to join and the collars are free. Anyhow in them are is an animation that does just that. I -think-, though don't recall exactly, but I do think there are two variations. One may be called "sub hug". Not sure of other. Anyhow, you could also pull the animation from collar and use it. Take care.