DebugDrawLine can be really useful

Just wanted to say that I’ve been using DebugDrawLine in UTankAimingComponent::AimAt for several lectures and it really helps in showing the progress.

Just a small tip.

EX.

DrawDebugLine(GetWorld(), startLocation, startLocation + aimDirection * 100000, FColor::Red, false, -1.f, 0, 20.f);

1 Like

Privacy & Terms