I took another look at that idea for improved camera movement and I understand it now. I implemented it and it's worked so far, i'm gonna continue working on it. So the camera will actually move to the position it needs to be in (to avoid walls) instead of just appearing there and clipping into walls.