diff --git a/src/js/xr/src/use-interactions-manager.js b/src/js/xr/src/use-interactions-manager.js index 3cc2527d0e..6b05746c0d 100644 --- a/src/js/xr/src/use-interactions-manager.js +++ b/src/js/xr/src/use-interactions-manager.js @@ -764,8 +764,8 @@ const useInteractionsManager = ({ let worldScale = useStoreApi.getState().worldScale let hmd = camera.parent let elevationDisplacement = 0.5 - //Value of -1.6 is used since the XR camera is already 1.6 mtrs above the ground by default. - let minHeight = -1.6; + //Value of -2.6 is used since the XR camera is already 1.6 mtrs above the ground by default. + let minHeight = -2.6; if (event.target.uuid === rightController.uuid) { hmd.position.y += elevationDisplacement @@ -774,7 +774,7 @@ const useInteractionsManager = ({ //This makes sure that the camera moves upto 1mtr below the surface if (hmd.position.y > minHeight) { hmd.position.y -= elevationDisplacement - //Clamp the value to 1.6mtrs below the ground in case the y values becomes lesser. + //Clamp the value to 2.6mtrs below the ground in case the y values becomes lesser. if(hmd.position.y < minHeight) hmd.position.y = minHeight }