Class PhysicsServer3DManager
- Namespace
- Godot
- Assembly
- GodotSharp.dll
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.
public static class PhysicsServer3DManager
- Inheritance
-
PhysicsServer3DManager
- Inherited Members
Properties
Singleton
public static PhysicsServer3DManagerInstance Singleton { get; }
Property Value
Methods
RegisterServer(string, Callable)
Register a PhysicsServer3D implementation by passing a name
and a Callable that returns a PhysicsServer3D object.
public static void RegisterServer(string name, Callable createCallback)
Parameters
SetDefaultServer(string, int)
Set the default PhysicsServer3D implementation to the one identified by name
, if priority
is greater than the priority of the current default implementation.
public static void SetDefaultServer(string name, int priority)