Allow setting vector elements simultaneously #4232
Replies: 3 comments 1 reply
-
I don't see why not. The dragging direction would just have to be rotated to the side. Although, perhaps, it would be more universally useful to allow selecting more than one field at the same time (maybe with CTRL) for features such as these. |
Beta Was this translation helpful? Give feedback.
-
See also #144. |
Beta Was this translation helpful? Give feedback.
-
I don't know if it's possible, or desired, to close discussions, but for my purposes, godotengine/godot#59125 should work nicely! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
In Blender, the vector editor built into the user interface allows you to drag your cursor across 2 or 3 of the vector elements vertically, then move the cursor left or right and edit them all simultaneously:

This is quite helpful when doing operations like scaling cubes or planes, where you want quickly scale something up and maintain the aspect ratio. I don't believe Godot currently supports this feature, but it would make working with vectors in the editor much easier.
This wouldn't work with the optional horizontal layout of vectors in the inspector (Defaults to false for vec2, true for vec3). This feature could be enabled only in a vertical layout, or horizontal layouts could be removed from the inspector.
Doesn't work:

Elements could be set simultaneously. This also looks nicer, in my opinion.

Beta Was this translation helpful? Give feedback.
All reactions