This website requires JavaScript.
Explore
Help
Sign in
Stowage
/
godot
Watch
2
Star
0
Fork
You've already forked godot
0
mirror of
https://github.com/godotengine/godot.git
synced
2025-11-06 00:21:24 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
597c5d413f
godot
/
modules
/
godot_physics_2d
/
config.py
7 lines
102 B
Python
Raw
Normal View
History
Unescape
Escape
Move Godot Physics 2D into a module; add dummy 2D physics server If the module is enabled (default), 2D physics works as it did before. If the module is disabled and no other 2D physics server is registered (via a module or GDExtension), then we fall back to a dummy implementation which effectively disables 2D physics functionality (and a warning is printed). The dummy 2D physics server can also be selected explicitly, in which case no warning is printed.
2024-08-07 21:15:17 +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_2d
"
]
Move Godot Physics 2D into a module; add dummy 2D physics server If the module is enabled (default), 2D physics works as it did before. If the module is disabled and no other 2D physics server is registered (via a module or GDExtension), then we fall back to a dummy implementation which effectively disables 2D physics functionality (and a warning is printed). The dummy 2D physics server can also be selected explicitly, in which case no warning is printed.
2024-08-07 21:15:17 +02:00
def
configure
(
env
)
:
pass
Reference in a new issue
Copy permalink