Mesh.rayMesh.scale.z = distance;
                      controllerMesh.updateMatrixWorld();

                      /* controllerMesh.dotMesh.position.z = -distance;
                      controllerMesh.updateMatrixWorld();
                      controllerMesh.dotMesh.visible = true; */

                      const gamepads = navigator.getGamepads();
                      const gamepad = gamepads[i];
                      const pressed = gamepad.buttons[1].pressed;
                      const lastPressed = la