blackears / cyclopsLevelBuilder

A Godot plugin to let you block in levels inside the Godot editor.
MIT License
917 stars 36 forks source link

Provide better way to change drag axis #48

Open blackears opened 1 year ago

blackears commented 1 year ago

Right now XZ is assumed for dragging by default. Provide button to let users choose the axis/plane to drag along instead. This is better for mobile devices too.

elvisish commented 1 year ago

Doesn't one of the hotkeys do this, ala Trenchbroom?

Calinou commented 1 year ago

Doesn't one of the hotkeys do this, ala Trenchbroom?

You can hold Alt, but it only allows moving on the Y axis, not a plane such as XY/YZ depending on camera rotation: https://github.com/blackears/cyclopsLevelBuilder/issues/9

blackears commented 1 year ago

I should have been more clear. I meant a drop down menu option in the toolbar, but I think it would probably be best to just implement a gizmo and just sidestep this whole issue. My only concern is that it might interfere with the default gizmo which I don't think I can turn off.

elvisish commented 1 year ago

Yeah, I'm having trouble moving a face along the Z axis without it also going off into the X axis, it would be useful if there was a way to just lock to a single axis (I dont think there is?)

blackears commented 10 months ago

I've just merged code that provides a gizmo that should make it easier to move you selection along a particular axis.