View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005757 | DarkRadiant | GUI | public | 17.09.2021 20:13 | 28.10.2022 05:52 |
Reporter | BrendonChung | Assigned To | greebo | ||
Priority | normal | Severity | feature | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Product Version | 2.13.0 | ||||
Target Version | 3.0.0 | Fixed in Version | 3.0.0 | ||
Summary | 0005757: Ability to center 3D camera on selected entity | ||||
Description | I think it would be helpful if there was a keybind to center the 3D camera on the currently-selected entity. Currently, when the Entity List (J) is open and the player selects an entity in the Entity List, the 3D camera snaps to the entity's location. This works great, and I think it would be helpful if the 3D camera snap could be called on-demand. Example: 1. Player selects an entity in the ortho window. 2. Player presses the camerafocus keybind, i.e. ctrl+F 3. The 3D camera snaps to the selected entity's location. | ||||
Additional Information | If multiple entities are selected, I think it would work ok if the 3D camera either focused on the first entity in the selection set, or the midpoint of all the selected entities. | ||||
Tags | No tags attached. | ||||
I have no opinion on the specific ctrl+F key proposed, but would also very much like this overall capability. | |
Testing notes of this in 3.0.0 pre 1: Under Edit/Keyboard shortcuts, this is called "Focus Camera on Selection". No key bound by default, but Ctrl~F is likely available to edit/bind. Seems to work. In terms of implementation, the camera is repositioned independently of where it originally was. Relative to the selected object's origin (or the group origin if multiple selections), the new camera origin has the same y, but larger and equal-offset values of x and z. It thus sees the object(s) from above at a 45 degree angle. Distance varies so that the object(s) are fully included with some surround. Only problem seen (perhaps not exclusive or strictly related to this feature) is that the orthogonal "flying saucers" showing the viewpoint have view-angle lines that are often quite wrong. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
17.09.2021 20:13 | BrendonChung | New Issue | |
12.10.2021 15:03 | Geep | Note Added: 0014432 | |
03.04.2022 08:17 | greebo | Assigned To | => greebo |
03.04.2022 08:17 | greebo | Status | new => assigned |
03.04.2022 08:17 | greebo | Target Version | => 3.0.0 |
03.04.2022 08:26 | greebo | Changeset attached | => DarkRadiant master 3faddffe |
03.04.2022 08:27 | greebo | Status | assigned => resolved |
03.04.2022 08:27 | greebo | Resolution | open => fixed |
03.04.2022 08:27 | greebo | Fixed in Version | => 3.0.0 |
03.04.2022 18:38 | Geep | Note Added: 0014793 | |
28.10.2022 05:52 | greebo | Status | resolved => closed |