vaserchuk Posted November 17, 2020 Share Posted November 17, 2020 Hello! How can I translate the screen coordinates of the mouse cursor to the world coordinates of the camera? Something like in Unity: Camera.main.ScreenToWorldPoint(Input.mousePosition) Link to comment
honya Posted November 17, 2020 Share Posted November 17, 2020 Hi, check https://developer.unigine.com/en/docs/2.12/api/library/players/class.player?rlang=cpp&words=getdirectionfromscreen#getDirectionFromScreen_Vec3_Vec3_int_int_int_int_void . Honya 1 Link to comment
Recommended Posts