Prefer Callable to a C-style callback. This is helpful for GDExtension.
This allows a 2D physics server created entirely from GDExtension. Based on the structure of PhysicsServer3DExtension by reduz.