-
-
Notifications
You must be signed in to change notification settings - Fork 22.1k
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
Display camera coordinates in the 3D viewport's information pane #21897
Display camera coordinates in the 3D viewport's information pane #21897
Conversation
Would be nice if there's a way to teleport to any coordinates. AFAIK there's no way except creating a Spatial node, moving it and following it. |
@@ -200,6 +200,7 @@ class SpatialEditorViewport : public Control { | |||
Control *surface; | |||
Viewport *viewport; | |||
Camera *camera; | |||
Camera *current_camera; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why save it as a member if you only need it in _notification
where you set it?
b7b7bdf
to
621a545
Compare
I updated the pull request, please check it again 🙂 |
We discussed this on IRC with @reduz and @mhilbrunner and they don't see much use case for this additional information, while it adds quite a lot of text. Can others chime in and say whether they'd have a use for this or not? |
This would make it easier to make large 3d levels, even without teleportation proposed. |
Not many arguments for or against this change, but it's not much code so I guess it doesn't hurt giving it a try. |
Eventually it could be more interesting if the contents of the panel could be customized so that users can select what properties they want to monitor. |
This adds a camera coordinates display to the 3D viewport's information pane. The coordinates displayed will be from the previewed camera if one is currently being previewed.
This could make it easier to navigate and adjust node positions/rotations in a 3D world.
Preview: