I’m creating an isometric shooter, and I’m trying to make a line trace come out of my muzzle socket in a straight line in the direction my mouse cursor is. I’ve tried several ways and it doesn’t work.
This is my character rotation on mouse location, its working fine
just to add, I have made a change that almost works, but it seens the line trace ends exactly on the mouse hit, and ends in the floor, but I want the line goes further like a bullet.
Don’t use the mouse cursor position for the weapon shot. Use the start position of the weapon and it’s forward direction.
I added a project showing it in action (left click walk, right shoot)