Logo
Explore Help
Sign In
seedlingattempt/godot
1
0
Fork 0
You've already forked godot
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
4.5
godot/modules/godot_physics_3d/config.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
102 B
Python
Raw Permalink Normal View History

Move Godot Physics 3D into a module; add dummy 3D physics server 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.
2024-08-07 16:20:21 +02:00
def can_build(env, platform):
Allow to compile templates without physics servers
2025-02-27 19:01:23 -03:00
return not env["disable_physics_3d"]
Move Godot Physics 3D into a module; add dummy 3D physics server 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.
2024-08-07 16:20:21 +02:00
def configure(env):
pass
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.1 Page: 212ms Template: 5ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API