I'm using the
touchdown method. It gives me my
screenY. Is there a simple way to convert screenX and screenY to world coordinates? By my understanding,
InputHandler returns the coordinates in relation to your screen.
Take your camera matrix and unproject it (or invert it). This can be done in libgdx like so:
Vector3 worldCoordinates = new Vector3(screenX, screenY, 0); camera.unproject(worldCoordinates);