void Update()
    {
        float y = Input.GetAxis("Mouse Y");
        float x = Input.GetAxis("Mouse X");

        HandleRotation(setInvYax * y * Settings.MouseSensitivity(), x * Settings.MouseSensitivity());

        if (ShouldAutoAlign())
        {
            follow.SetFollowRotation(true);
            Align();
        }
        else
        {
            follow.SetFollowRotation(false);
        }

        // FIXME: this script should have full control over movement -> use Follow in manual mode
        float obstacleDistance = ObstacleDistance();

        if (obstacleDistance != -1f)
        {
            arm.SetRadius(obstacleDistance - 0.1f);  // Set the camera radius a little bit in front of the obstacle
        }
    }