I’m trying to do something as simple as line tracing from the camera (well, center of the viewport) straight “forward” into the screen, as in trying to check what the “crosshair” is on as far as the player is concerned.
I tried just grabbing the camera in the 3rd person example and tracing forward but I get weird results. The origin is seemingly offset and shoots in weird angles. The red line is the trace and the sphere is the impact point.
I’m probably having a temporary brain malfunction, but if someone could point me in the right direction, that would be much appreciated.