Hi guys,
I think it looks like a square because a line has dimention 0 until you give a thickness property, then probably this thikness is used as an area by the DrawDebugLine method.
There are other methos that we could use, like DrawDebug…DirectionalArrow…Cylinder, etc, that might look rounded.
My code:
float Reach = 100.f;
FVector LineTraceEnd = PlayerViewPointLocation + Reach*PlayerViewPointRotation.Vector();
DrawDebugLine(
GetWorld(),
PlayerViewPointLocation,
LineTraceEnd,
FColor(0,0,255),
false,
0.f,
0.f,
5.f
);
my results: