VR/Vive - Prevent Player From Walking Through Walls?

I have seen VR games that prevent players from walking through walls by stopping all movement if they try, so I was wondering if there was an easy way to do this using colliders or a Character Controller.

It’s not complicated if you use a gameobject attached to camera (eye) with a collider, and move the camera rig in the inverse direction when the collision with the tagged object (like a wall, closed door) is done.
I’m bad in C# so i can’t help you, but i have the same problem.