Orthographic unproject



What are the steps required to unproject (2D->3D)? I’ve tried vec3Object.unproject(camera) and the results are not correct. I’m trying to select a 2D rectangular region (screen coordinates) and get that rectangular region in 3D (world coordinates). I need to get the vertices that exist in the rectangular region.


Have you tried it like demonstrated here: