Zoom in and out to target with camera using touch controls

this problem was solved by using the solution I described above, but converting the screen position to world space by myself and not using the “convert screen position to world space” as it misfunctions for some reason. here’s a screenshot of the math for that conversion, if you use an orthographic camera like I do:

1 Like