I need to get the coordinates of the cursor in the 3d space of the scene when I put it on some surface. How can I do that?
I tried to use the ConvertWithProj function to get at least the ray and then find its intersection with the surface. The direction of the beam seems to be true, but the point is not. As a result, the beam does not pass through the point at which the cursor is hovered, but very far from it. I have also tried to use ConvertToGrid function but i never managed to get it to work