Debugging using 2d Text over entities

Hi, there is only so much that the console.logs can help with and sometimes its necessary to display debug info inside the game attached to specific entities.

I need to be able to easily create a piece of debug text on the UI which positions itself at the each of my 3d entities all the time so I can track exactly what each instance is doing.

How do I do this easily? I would have thought it must have been asked for many times before but I cant find anything.


Hi @Grimmy,

Not sure if there is an easier way, but you could create a utility/debug script based on this example project: