When the respective blue lines being projected meet the orange lines, the camera should stop following the target.
The scale of the image plane isn’t (1,1,1). Is this important to know?
If the image plane wasn’t rotated, it would be a matter of using the z coordinate, and I realize it still is, but that z coordinate must be multiplied by 1 because of some function. And in this case where the image plane is rotated, that 1 must be something different based on the rotation, but I just don’t know