Chase @chasehunter.dev · Dec 30

Anyone have experience with using the _draw() function in #godotengine? I am having an issue where the shapes I am drawing are randomly appearing/disappearing as the player and camera move around. I've got no idea why this would be happening...

22 likes 2 replies

?

Replies

Chase · Dec 30

So the problem was because the script was attached to a Control node. Control nodes get culled when they are a certain distance from the origin. Changing the node type to Node2D makes this debug gizmo work like a charm! #godot

Chase · Dec 30

The shapes are the blue circles and lines.