Problem with Lengthening a vector

Hi!

I’m having some problems with trying to lengthening a vector that i’m using for a Line Trace. The trace starts at my character with a slight offset, and ends where my mouse cursor is - using a ‘get hit result under cursor’:


And it works great:


But now i want the Line Trace to continue further than the Mouse cursors position, so from looking at tutorials and other peoples blueprints i figured i would just have to multiply the vector - like this:


But that doesnt work at all! It seems like all the Line Traces are now going off somewhere that is not towards the mouse cursor at all!


So can anyone help me? I just want the Line Trace to go from my character, towards the mouse cursor and continue beyond it.

try subtracting the start vector before multiplying.

right now you are adjusting the end point, but you want to adjust the whole vector, which would be the end vector minus the start vector.

your end vector is not relative to your start vector, its relative to the origin, so multiplying it by a constant would give you a lengthened vector from the origin, when you want a lengthened vector from the start location, so make the vector relative to the start location by subtracting start from end before multiplying.

That fixed it!

Thank you!!!