I need some 3d object to be alwayson the edge of the screen & underlay some other 3d objects. How 2 make it? I tried Camera.main.ScreenToWorldPoint(new Vector3(Screen.width, 0, 0)) but it doesn’t work
Use Camera.main.ViewportToWorldPoint(new Vector3(x, y, depth))
where x and y are screen coordinates from 0 to 1
and depth is the world space depth along the camera frustum.
DapperMonke, tysm!
1 Like