That's great for rotating the camera left and right but it doesn't work for following a sprite up and down.