Attention: Here be dragons
This is the
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
A singleton for managing PhysicsServer2D implementations.
PhysicsServer2DManager is the API for registering PhysicsServer2D 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.
Set the default PhysicsServer2D implementation to the one identified by
priority is greater than the priority of the current default implementation.