Skip to content
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

New 3D scaling gizmos not snapping to grid correctly #81916

Closed
JamesC01 opened this issue Sep 19, 2023 · 1 comment · Fixed by #82381
Closed

New 3D scaling gizmos not snapping to grid correctly #81916

JamesC01 opened this issue Sep 19, 2023 · 1 comment · Fixed by #82381

Comments

@JamesC01
Copy link

JamesC01 commented Sep 19, 2023

Godot version

v4.2.dev5.official

System information

Godot v4.2.dev5 - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1050 Ti (NVIDIA; 30.0.15.1179) - AMD Ryzen 3 1200 Quad-Core Processor (4 Threads)

Issue description

When using the new 3D scaling gizmos and grid snapping, they seem to sometimes snap correctly, but occasionally, it will start moving in smaller increments until the size is completely off the grid. I also think that there are some problems due to the fact that the transform gizmo is in the centre of these types of nodes, so even if the edges of the node are snapped, the position will almost never be snapped. Maybe adding an option to switch between a centered transform gizmo, and a corner transform gizmo could solve some problems.

Screenshot 2023-09-19 130445

Steps to reproduce

Create a node that uses these gizmos, and with grid snapping on, keep moving the handles until it goes off the grid. You have to keep letting go of it, and click/dragging it again. When you initially grab the handle, and it snaps, it will continue to snap, it's when you click it again that it sometimes goes off.

Minimal reproduction project

N/A

@KoBeWi
Copy link
Member

KoBeWi commented Sep 19, 2023

This problem was originally discovered in #71092, but it's difficult to solve.
Snapping should work properly when you hold Alt, i.e. use the old resizing behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants