Positioning gizmos nightname

Hi guys! How do you position gizmos? I’m using The Path, and need to place node gizmos on my terrain. But, gizmo is always drawn on top - I absolutely can not tell, when is intersects with the terrain at all! I want to place nodes precisely on the surface - how can I do it?

There may very well be an easier way (and if there is, I’m sure someone will point it out), but one option would be an editor script that finds all path nodes (or those that are selected) and moves them vertically so that they lie on the terrain. This could be done by raycasting vertically from the node position and moving the node to the intersection point (if any). You could then place the nodes in orthographic top-down mode at some fixed height, and then adjust their positions all at once.

This would be a little more involved, but another option might be to create an editor interface that allows for placing nodes on the terrain directly using the mouse.