World¶
Inherits: Resource < Reference < Object
Class that has everything pertaining to a world.
Description¶
Class that has everything pertaining to a world. A physics space, a visual scenario, a navigation map and a sound space. Spatial nodes register their resources into the current world.
Tutorials¶
Properties¶
Property Descriptions¶
PhysicsDirectSpaceState direct_space_state
PhysicsDirectSpaceState get_direct_space_state ( )
Direct access to the world's physics 3D space state. Used for querying current and potential collisions.
Environment environment
void set_environment ( Environment value )
Environment get_environment ( )
The World's Environment.
Environment fallback_environment
void set_fallback_environment ( Environment value )
Environment get_fallback_environment ( )
The World's fallback environment will be used if environment fails or is missing.
RID get_navigation_map ( )
The RID of this world's navigation map. Used by the NavigationServer.
RID scenario
RID get_scenario ( )
The World's visual scenario.
RID space
RID get_space ( )
The World's physics space.