How do I keep my collision shape centered on the unity vr camera

I am using the Unity XR Toolkit on Oculus Quest 2 but I have an issue. Currently, In my scene i have a dungeon generator with walls to collide with. My problem is that whenever i am up to the wall in unity and I move inside my Oculus Quest’s Guardian, My camera is now offset from the center of the XR Origin and is now able to be freely inside the wall. How would I make my camera stay in the center. I also don’t want to use camera fade, I want to be able to move around in real life and still have the collision centered to the camera.

tl;dr I need help in programming VR Head Pushback

You need to put the camera as a child to another object (call it CameraHolder). Then when you detect the camera is too close to a wall move the CameraHolder back, so the head comes out from the wall…