Hm, let's see. How exactly am I to get the 2d distance? Because, as we see in any pitched image (such as the second image, frame 3), the distance varies depending on where on the camera display the object stands on.
If there was a tree just right at the bottom, it would be pretty big. If it was just at the horizon, it should be small.
Yet, in my code right now, I'm not pretty sure I don't take this into account, I simply just use the camera position, which is a simple x,y position.
If there was a tree just right at the bottom, it would be pretty big. If it was just at the horizon, it should be small.
Yet, in my code right now, I'm not pretty sure I don't take this into account, I simply just use the camera position, which is a simple x,y position.