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

Properties

PhysicsDirectSpaceStatedirect_space_state
Environmentenvironment
Environmentfallback_environment
RIDscenario
RIDspace

Property Descriptions

Getterget_direct_space_state()

Direct access to the world’s physics 3D space state. Used for querying current and potential collisions.


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.