Download

Displaying debug information in editor, not in-game

Hi,

I’m able to use DrawDebugSphere to show spheres around invisible objects when the game’s running, but can I do it while I’m just in the editor? I have spawnpoints which there’s no mesh for, and I want to be able to highlight where they are using debug spheres.


FVector origin, extent;
GetActorBounds(false, origin, extent);

DrawDebugSphere(GetWorld(), origin, 10, 10, FColor(0, 255, 255), true, 999.0F);

Side-note, can I make them permanent without 999.0F?