I am using the example first person shooter map.
When i click the mouse i am doing a linetrace and i’m printing the linetrace vector on screen.
I use get “forward vector”. But the z coordinate keeps being the same not matter how high i point up or down with my gun.
If you for example would shoot a cube that was floating in the air the z coordinate must change too.
How can i make this happen?
https://snipboard.io/blYnSJ.jpg (FirstpersonCharacter blueprint)
https://snipboard.io/ACx7wQ.jpg (playing the game and printing the new vector)