Godot Version
4.4.1
Question
I was wondering if there is a way to get the Godot 3D editor viewport to display a particular World3D? I’ve had to create special World3D objects so that my SubViewport objects display distinct scenes. However, when I do this, the objects in my 3D scene no longer display in the editor viewport, which makes them hard to edit. Is there any way to get the editor to display one of my custom worlds?
1 Like
I Usually go to the 2d view unless you put your subviewport onto a 3d sprite. Third option is work without the subviewport in the base scene under yhe subviewport. World3d is like a canvas and cannot be easily mixed with other worlds.
Not sure if this will help, but if it is a script/c# bound item, marking it as “tool” may get the editor to run the custom code. I know I had to do this for a custom shader that had its tex
value updated by c# script.
I’m using this to render to an offscreen image, so it’s not being wrapped in a ViewportTexture for anything. It would be nice if the editor had a drop down to let you see other worlds.
I would just make a scene that will be goong under the subviewport and just use the scene tabs to switch between the views.