I’m working on a project in Unreal Engine where I need to align a cable with a line trace. However, I’m running into an issue where the cable is not following the same direction as the line trace. I have attached two images for reference:
The first image shows the in-game scenario with the cable and the line trace.
The second image shows the relevant part of my blueprint setup.
Here End item is a item that i want to pull, and the cable component is attached with the BP_Winch.
In my blueprint, I’m using the Line Trace By Channel node to trace a line between two points. I’m also adjusting the start and end points of the cable to match the line trace, but for some reason, the cable ends up in a different direction.