I'm trying to raycast from the center of the screen towards anything in front of the camera.
My goal is that I make the player able to shoot enemies according to the "+" symbol in the center of the screen.
How can I get D3DXVECTOR3 of the center of the screen?
Any help would be appreciated.
[attachment=12578:ray.jpg]