I am trying to automatically set the position of my player’s blueprint to be at the centre of the screen.
However I am having a hard time finding out how to do that easily. I tried to get the Convert Screen to World position by setting the X/Y to half the screen size, but whatever I set as X/Y, what values come out for X, Y and Z are always the same.
I feel like it should be a very easy thing to do, but can’t seem to find a way
That’s basically vector math 101. There are a lot of instances where you’d want to shoot a line trace. (Projectiles, Checking distance, checking somethings angle (aka normal vector))