Hi, I am trying to get the coordinates of where the screen is touched using the lginputprocessor in the LibGDX library.
I am getting the X & Y location from the Sub IP_TouchDragged arguments and assigning those coordinates straight to the sprites X & Y. I knew it wouldn't be that easy, and as I suspected it didn't work.
The sprite does not follow my finger and up and down movements are inverted. I have searched the issue and it looks like I need to use Vector3 with the lgOrthographicCamera.unproject. There is no Vector3 that I can find?
If anybody can point me in the right direction (and my sprites!) on this I would really appreciate it.
Thanks in advance,
Rob
P.S. I've attached my code I'm using to test all this stuff...