-
-
Notifications
You must be signed in to change notification settings - Fork 21.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gridmap spatial gizmo is not responding #19860
Comments
Still reproductible in 77990b8 |
Sooo after some investigation, editor plugins will receive the input first, which makes it impossible to filter them out by gizmo. Maybe the gizmo should just be hidden for some plugins (e.g. the Gridmap). |
Problem is, it makes sense for my plugin to have that gizmo... and probably GridMap too. At least I wouldn't consider this a solution, it only hides the problem. |
Not really. In 2D you can edit the TileMap only when select tool is active. Move, scale and rotate tools will affect the actual node. We could do something similar in 3D. Disable the gizmo when select tool is active and enable it on move/rotate/scale tools, but also prevent interacting with the GridMap with these tools. |
Oh no... I never use these modes, never needed to really... it was so handy to have everything at hand with the default tool... :(
That's TileMap's problem though, maybe it was a choice for it to not have a gizmo I guess... these nodes aside, I'd be sad to be forced to switch to a different mode to move things just because gizmos can't be made to react in proper hit order. |
I mean it would be disabled only for the editor plugins (and optionally), so it doesn't interfere with them. Is moving the node around that important operation in your terrain plugin? Painting should be the more common operation, and if you need to move the whole terrain, switching to move tool for a moment shouldn't be a problem (especially because we have shortcuts for that). Although I never used your plugin, so maybe I'm missing something. |
It's not a frequent thing to do, but it does happen (one reason is it has a finite size, contrary to tilemaps and gridmaps). I had users report that they can't move the terrain, and I had to tell them explicitely to do that through the inspector. |
Then requiring to switch tools wouldn't hurt probably. Making gizmo work like you described wouldn't be ideal either, because it would be easy to accidentally move or rotate your nodes while editing. |
Fixed by #96922. |
Godot 3.0.4
With a Gridmap node, the spatial gizmo cannot be moved, rotated or scaled. It places tiles instead.
The gizmo should be able to receive and handle input before the gridmap plugin.
Note: when I first open the scene, the gizmo responds, but it doesn't anymore as soon as any tile in the right panel is selected.
Similar to #17499
The text was updated successfully, but these errors were encountered: