DrawDebugString draw persistent string?

Why doesn’t DrawDebugString have a persistent parameter?

Other debug draw functions has this feature – the bPersistentLines parameter.

How do I keep my debug string when simulate is paused?

while I can’t say why DrawDebugString does not have a persistent parameter, but what you can do is to print string in the debug output log window. So when you pause you can see your values in log.

Thanks. But debug string in 3D space is more helpful in debugging. For example, I could show some state related info above the head of each character.

But if you use duration parameter, does it work?

Yes, it works. But then I need an array to manage the duration of each line I draw. That’d be a really troublesome workaround.