Inheritance #

Table of contents

PhysicsServer3DManager #

is_instantiable, core, not_builtin_classes, singleton

A singleton for managing PhysicsServer3D implementations.

PhysicsServer3DManager is the API for registering PhysicsServer3D implementations and for setting the default implementation.

Note: It is not possible to switch physics servers at runtime. This class is only used on startup at the server initialization level, by Godot itself and possibly by GDExtensions.

Members #

Methods #

func register_server(create_callback: Callable) -> void#

Register a PhysicsServer3D implementation by passing a name and a Callable that returns a PhysicsServer3D object.

func set_default_server(priority: int) -> void#

Set the default PhysicsServer3D implementation to the one identified by name, if priority is greater than the priority of the current default implementation.

Annotations #

Constants #

Constructors #

Enums #

Operators #

Signals #

Theme Items #

Tutorials #