SO I have an issue with raycasts, specifically debug ray.
I have a test scene where I'm controlling a turret with the mouse. The turret is supposed to look at whatever point on a 3d object that mouse cursor is over(in this testing scenario a plane).
The rotation aspect works ok but the turret seems to not look exactly at where the mouse is on the plane. I have setup a debug ray to fire from the turret to the point of the mouse, but it's always way off.
As you can see in the picture, the mouse cursor is about where the little square graphic is and the ray is nowhere near that... what could be going on? help!!