How do I move a projectile to a SCREEN position
Basically i need to find a way to calculate the position of a OBJECT that is
located at LAYER1 to be placed at the SAME POSITION OF THE MOUSE IN THE SCREEN and NOT IN THE SAME COORDINATES
What is the expected result
The Pointer object should be placed at the exact location of my Mouse
What is the actual result
My Pointer object doesn’t seem to move accordingly with the Mouse, most likely because the calculations does not include changes on the camera position.
(Obs: i have a few camera changes for Smooth camera movement (using lerp) and Zoom-out based on Player linear velocity)