-
-
Notifications
You must be signed in to change notification settings - Fork 23.8k
Description
Tested versions
v4.6.beta1.mono.official [d743736]
System information
Windows 11, Godot v4.6.beta1
Issue description
Spatial Editor Focus Selection operation does not work correctly. When activated, it will only center the selected node(s) to the center of the viewport but it will not adjust camera zoom to fit the bounds of selection to the viewport. This means selecting small, distant objects does borderline nothing. This is inconsistent with how any other 3D software (both DCC and game engines work.
Furthermore, even in the scope of Godot itself, this operator works inconsistently, as moving towards the selected object, then pressing F will reset the camera back to original distance prior to move, while zooming towards the object using camera zoom will maintain the distance.
Steps to reproduce
- Move camera further from an object, select it and press "Focus Selection"
- Notice the camera only centers the object but does not zoom to it
- Navigate closer to the object using RMB+W key
- Press "Focus Selection" button again, notice the camera jumps back previous distance before RMB+W navigation
- Zoom close to the object using the mouse wheel
- Press "Focus Selection" button again, notice the camera did not change distance
Result: The Focus Selection operation works unpredictably, changing the distance selection differently based on whether navigation was done using camera zoom or viewport navigation.
Expected: The Focus Selection operation works in any other software, not only centering the selected object(s) but also setting the camera distance to the selection based on the selection bounds.
Minimal reproduction project (MRP)
Metadata
Metadata
Assignees
Type
Projects
Status