I’m trying to make a hitscan thing in a 2.5d game, so what is supposed to happen is when you right click the line trace goes from the player to the mouse poiner on the X and X axis, and use the same Y value as the character
But in practice no matter what I’ve tried it’s either always used the Y of the camera, or assumed the Y was 0.
How can I make the line trace end at the same Y location as the player, and the X and Z of the mouse cursor
