This is for a top-down game but it’s not straight top down which is now causing problems. Since the camera is at an angle converting the mouse location to world space is giving us inaccurate results. This function is being run off an event tick.
I created a GIF to demonstrate what’s happening. You can see the crosshair and where the player is aiming is accurate while looking straight up and down but not any of the other angles. Halfway through the GIF, I switch to a straight top-down camera and everything works fine.
How do I make the player look directly at the crosshair while in this 3/4 view?