I read a lot of topic that cover the projectionMatrix, but still I don’t get how it works…
shouldnt Camera.main.projectionMatrix.MultiplyPoint3x4(someVectorWithCameraCoordinates);
be the same as Camera.main.WorldToViewportPoint(sameVectorWithWorldCoordinates); ? except that now the vector is normalized?
I wanted to know a way of getting a custom rectangle that isnt just starting coords. plus dimensions.
Something like making a rectangle with start coords and two other vectors that tells me where it ends accordingly to the camera projection…
Im not making myself too clear… let me start again…
Is there a way to know for sure if i click inside a cube with the mouse’s position of the screen? Even with the false sense of depth the camera provides?