I think the best thing to do would be to project the camera position onto the plane of the yaw gimble, lookat, then project it onto the plane of the pitch gimbal, lookat.Should work...