Weird coordinate mapping using Node2D draw in 3D

Godot Version



Pretty new to Godot so as part of the learning I wanted to make a gizmo visible at runtime. I looked into a 3D solution which creates meshes but I thought I’d use a Node2D and use the _draw to easily draw what I want. It ‘works’ but I had to fudge some values and I can’t figure out what the fudge values relate to. Basically I have to divide the coordinates I get from camera.unproject_position by 4.52 in the x and 6.36 in the y!
Available on Github if anyone can shed some light on it. GitHub - terrykingdev/Draw2DGizmoIn3D
I’d also like to know if the lines don’t appear in the correct place for anyone.

2DGizmo (Small)