I recently came around to try and develop my own Melee Combat system and everything was working smoothly untill i came to making a correct line trace. Even though i already have a way to create a line trace from a certain socket / scene component it draws the line fine only that it isnt a continuous smooth line from Point A (Start location at that frame) to Point B (New Location at that frame).
Although i found a way that you could have a stored location inside a vector to then if (needed) boost performance from that, but the only issue i had is that i couldnt get it to trace a line using a vector as start and then a Get World Location from the “socket” im using to trace. Meaning i never got the debug line to show, thus i had it on Duration.
Also im trying to find a good way to only trace when i use my actionkey for that certain weapon, i did somehow get it to work earlier with an Event Tick but that obviously continues to fire in the background, and if i were to just use the ActionMapping i would need to hold it down in order for it to draw a line.
Looked around the entire forums for some way or tutorial to make a Chivalry / Mordhau style line trace, but either got vague or no actual info regarding it. Any help or points in right direction would be greatly appreciated.
The current setup i have just makes the line shoot forward in one direction as i can’t find a way to combine my current setup with “get forward vector”.