#getting editor camera angle in script?
1 messages · Page 1 of 1 (latest)
From my brief searching, There is an EditorInterface singleton you can use to access the editor camera.
https://docs.godotengine.org/en/stable/classes/class_editorinterface.html#class-editorinterface-method-get-editor-viewport-3d
EditorInterface.get_editor_viewport_3d(0).get_camera_3d() should get the editor camera
Godot Engine documentation
Inherits: Object Godot editor's interface. Description: EditorInterface gives you control over Godot editor's window. It allows customizing the window, saving and (re-)loading scenes, rendering mes...