I have a camera that is moved by changing its X and Z coordinates. However, the camera is rotated, so when an object moves by 1 unit in the world, the number of pixels it moves by isn't trivial to determine.
How could I move the camera so that if the pointer is at a set point, that point will be under the cursor after the cursor moves?
I have a PerspectiveCamera and the number of pixels that the pointer was dragged in each direction (X and Y) on the screen.