Vr MotionController Limit movement

Hi,

i want to Limit movement of my Motion Controller how i can do this?

i want allow only Movement forword and backword and block left right and rotation.

I’m still looking for a solution