Add trackball-style rotation for 3D transform gizmo#109976
Add trackball-style rotation for 3D transform gizmo#109976Repiteo merged 1 commit intogodotengine:masterfrom
Conversation
98a340d to
dae4724
Compare
|
great work! now that the code is already here it might be worth looking into having this style of point on sphere projection for calculating locked rotation axis adjustments as well. (like in maya for example) it's very intuitive to use compared to the current gizmo behavior (which will be unstable when dragging near the origin) |
a918b01 to
2de3c4e
Compare
KoBeWi
left a comment
There was a problem hiding this comment.
The implementation looks fine (based on other gizmos).
I gave it some testing and compared it with Blender, the Blender's trackball rotation is much faster, but otherwise they seem to function the same. The old rotation mode is still available via the white rotation circle.
Note that this also changes the default free dragging behavior of Transform Mode, from move to rotate, idk which one should be preferable.
2de3c4e to
d3b8b4c
Compare
d3b8b4c to
fd2d4d6
Compare
fd2d4d6 to
12782ea
Compare
|
Thanks! |
|
This mode should not be the default. It significantly breaks the behavior from versions 4.0 through 4.6. The priority assigned to the trackball's grabbing area is too high, severely compromising usability when selecting multiple points iteratively for transformation in Path3DEditor or SkeletonEditor. See also #115608 (comment). If this PR is merged, a toggle button for the trackball should probably be added to viewport option tool area. That option should also handle free dragging mode whether it behaves move or rotation, as mentioned by @KoBeWi :
|
|
Are there any plans to make this work with the Begin Transformation hotkeys too? I tried the new PR with the Node3D trackball toggle button, but it doesn't seem to affect the Begin Rotation Transformation hotkey. Also, great work, I've been wanting this feature for years. |
|
@GustJc see link for PR above. |
Add trackball-style rotation for 3D transform gizmo
Closes: godotengine/godot-proposals#7753
Requires and Includes: #108608 and #108576(these were merged)Common functionality in other 3D software that increases the usability of the rotation gizmo.
2025-08-26.04-36-01.mp4