I want to implement a hookshot feature in my game, the player will use the mouse to aim the hookshot and then I want to cast a line trace from the player to where the mouse is for now. However it seems that the line trace by default uses the camera to cast line traces which is my problem, Im using the SideScroller template and I want to cast from my character to the mouse position not the camera.
This is what I have so far, its exactly what I want except that even if I move the mouse over to the far left or right of the screen the acute angle is very small.
This is what it looks in game, I did one mouse click all the way at the left and one all the way to the right of the screen but the line trace barely moved.
This is how I want it to look.