Gizmo3D encapsulates the Godot Engines 3D move/scale/rotation gizmos into a customizable node for use at runtime. The major differences are that you can edit all transformations at the same time, and customization options have been added. The selection box and axes can be toggled, colors changed, snapping intervals changed, and more. Transformation methods can be easily overriden to customize the default behavior. It is available in both C# and GDScript.
Copy either Gizmo3DScript or Gizmo3DSharp from the addons folder into the addons folder of your project. Read more about installing and enabling addons here.
Once installed, you can add a Gizmo3D node to your project. For usage, it's recommended to take a look at the demo project - note that to use the demo you will have to git clone the repo, since the artifact is setup for use with the Godot Asset Library.
C# | GDScript |
---|---|
TransformBegin |
transform_begin |
TransformChanged |
transform_changed |
TransformEnd |
transform_end |
C# | GDScript |
---|---|
EditTranslate() |
_edit_translate() |
EditScale() |
_edit_scale() |
EditRotate() |
_edit_rotate() |
Gizmo3D is largely a port of C++ code from the Godot Engine source. Gizmo3D is licensed under MIT, while the license for the Godot Engine can be found here. The demo project uses assets from Kenney's CC0 licensed Mini Dungeon asset pack. The banner logo uses the Dimbo font.