Currently using location_3d_to_region_2d within a script to get the screen-space coordinates of each vertex.
I need to do the reverse -- given a Cam and X/Y/depth get X,Y,Z world space.
I've encountered quite a few functions that do it with a view, but I'm working from a script_view/CLI.
How can I find WORLD xyz from a script?
region_2d_to_location_3d? Or build a location matrix in camera-local space space by projecting rectilinearly, and multiply it by the camera's world matrix. – Will Chen May 16 '21 at 16:46