How to convert mouse position to screen coordinates in 2D? (Camera 2D zoom)
I move sprite around the screen by mouse using this code:
But, sprite position and mouse cursor is different (very). They becomes absolutely different while changing camera 2d zoom.
In 2.1 version i am used without any problems following code:
In 3.0 this code not working. Any ideas?