mirror of
https://github.com/godotengine/godot.git
synced 2024-12-21 10:25:24 +08:00
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.
7 lines
94 B
Python
7 lines
94 B
Python
def can_build(env, platform):
|
|
return not env["disable_3d"]
|
|
|
|
|
|
def configure(env):
|
|
pass
|