Drawing line after character

Spline component is your friend

https://docs.unrealengine.com/en-us/Engine/BlueprintSplines/Overview