World¶
Inherits: Resource < Reference < Object
Category: Core
Brief Description¶
Class that has everything pertaining to a world.
Member Variables¶
- PhysicsDirectSpaceState direct_space_state - The World’s physics direct space state, used for making various queries. Might be used only during
_physics_process
. - Environment environment - The World’s Environment.
- Environment fallback_environment - The World’s fallback_environment will be used if the World’s Environment fails or is missing.
- RID scenario - The World’s visual scenario.
- RID space - The World’s physics space.
Description¶
Class that has everything pertaining to a world. A physics space, a visual scenario and a sound space. Spatial nodes register their resources into the current world.