0333648cea
If the module is enabled (default), 3D physics works as it did before. If the module is disabled and no other 3D physics server is registered (via a module or GDExtension), then we fall back to a dummy implementation which effectively disables 3D physics functionality (and a warning is printed). The dummy 3D physics server can also be selected explicitly, in which case no warning is printed.
6 lines
94 B
Python
6 lines
94 B
Python
def can_build(env, platform):
|
|
return not env["disable_3d"]
|
|
|
|
|
|
def configure(env):
|
|
pass
|