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 and a sound space. Spatial nodes register their resources into the current world.

Tutorials

Property Descriptions

Getterget_direct_space_state()

The World’s physics direct space state, used for making various queries. Might be used only during _physics_process.


Setterset_environment(value)
Getterget_environment()

The World’s Environment.


Setterset_fallback_environment(value)
Getterget_fallback_environment()

The World’s fallback_environment will be used if the World’s Environment fails or is missing.


Getterget_scenario()

The World’s visual scenario.


Getterget_space()

The World’s physics space.

Doc ID missing

Disclaimer: This page has been automaticaly and directly extracted from the official Godot Docs website, the 1970-01-01 at 00:00:00. It’s the English Stable version because it’s what most Godot users should use. The Copyright owners are Juan Linietsky, Ariel Manzur and the Godot community. CC-BY 3.0. Thanks for your patience and generosity.