What do I do with the Room and Portal nodes and how do I know they work?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By unfa
:warning: Old Version Published before Godot 3 was released.

Godot has nodes like Room and Portal to divide the environment into smaller sections so the game engine can optimize rendering of the level by drawing only the rooms that can be viewed form the camera’s current location.

But how to exactly use this functionality, and how can I know that it’s working as expected?

enter image description here

Would be nice to formulate your question in a way that won’t require 9 users in 10 to have to google “BSP system” to understand what you’re talking about.

Akien | 2016-03-31 12:14

Thanks, I hope it’s better now.

unfa | 2016-03-31 12:31

I too would love to see a tutorial on this. The best I’ve found is some info in the tutorial on importing 3D scenes; its “Create rooms” and “Create portals” sections are on the scene import flags, but they give some insight into how one would structure them if doing it by hand.

http://docs.godotengine.org/en/latest/tutorials/3d/importing_3d_scenes.html#create-rooms-room

scu | 2016-05-18 20:05