Closed suptoasty closed 8 years ago
I think this breaks the edition of the heightmap, because some parts of the editor assume the node begins at the origin and each cell is one unit of space. I planned to make the node a Spatial but it involves a few additional transformations in terrain.gd.
Oh, I see what you mean. I just changed the size of the terrain and the brushes no longer work. This seems to throw the brushes out of alignment.
Gizmos still do not work since the node uses mouse input when selected in the Scene Node Lists, but the changing of translation, rotation, and scale , in the Inspector still works. Everything seems to work fine, Live scene updates are okay, the Node changes when its parent's properties change, and there is no apparent performance hit on my pc.
Screenshot:
PS: I am going to look into whether get_selection() can test for gizmos and if it can't I might be able to make my own gizmo tool to compare to based off of what is in this documentation http://docs.godotengine.org/en/latest/classes/class_editorplugin.html?highlight=gizmo#class-editorplugin-create-spatial-gizmo