I am currently working on a 2D application for mobile devices. Certain UI elements are created as 3D objects, in order to create simple animations easily, and I use a sheared projection matrix to fake an orthographic projection.
But now I have the problem that mouseclucks on these sheared objects don't register where they appear on screen, but where they would appear without the shearing. Does anyone know of a way to make the graphic raycaster use the modified projection matrix?
But now I have the problem that mouseclucks on these sheared objects don't register where they appear on screen, but where they would appear without the shearing. Does anyone know of a way to make the graphic raycaster use the modified projection matrix?