Centring Print String text?

Not sure if that’s what you need but it’s another way of displaying debug info. Rather than having it spam a wall of text in the upper left corner, you can have it attached to a world location. Here I’m showing some info about the drivable pawn:

…which results in:

It might be a tad easier to follow than messages in the output log or print text / string. if you do not plug in the test base actor, the Text Location will be World Location. In the example above, the location of the text is car’s location + Z offset in the Select node.

This is really situational and whether using it makes sense depends on what needs showing and what’s the context. If you’re serious about debugging, you write your own custom debugger with widgets, pipe in generic data and the widgets handle formatting & display. It would also give you the chance to add some functionality at this point. Tools like that are handy and the upfront cost of creating one is totally worth it!

1 Like