I need to draw debug lines and circles in
_draw() to verify if an enemy AI script is working.
However, I want those drawings to be independent from the node's transform.
I tried to call
debug_set_transform() but it doesn't resets the current transform, instead it adds another one on top.
I tried to create another node to use as a global debug drawer but I get this error:
ERROR: Drawing is only allowed inside NOTIFICATION_DRAW, _draw() function or 'draw' signal.