Attention: Here be dragons
This is the
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
A resource that holds all components of a 3D world, such as a visual scenario and a physics space.
Class that has everything pertaining to a world: A physics space, a visual scenario, and a sound space. 3D nodes register their resources into the current 3D world.
PhysicsDirectSpaceState3D get_direct_space_state ( )
Direct access to the world's physics 3D space state. Used for querying current and potential collisions. When using multi-threaded physics, access is limited to Node._physics_process in the main thread.
The World3D's Environment.
The World3D's fallback environment will be used if environment fails or is missing.
RID get_navigation_map ( )
RID get_scenario ( )
The World3D's visual scenario.
RID get_space ( )
The World3D's physics space.