libgdx Viewports - Why when I use FitViewport the touch input x and y is not accurate?
Use viewport.unproject()
instead of camera.unproject()
so the cropping of the FitViewport is taken into acount.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With