Block hand like Sixence Tuscany Unity demo

My hand is controlled by Motion Controller, I want to know how am I supposed to block my hands when it collides with any static mesh and position it back to motion controllers location when not colliding.

Ok I found it. I Vinterped the position of the hand with Hydra and checked the Sweep option.

Ok I came to know that Spring Arm can be used too.