You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
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.
This commit is contained in:
@@ -322,6 +322,8 @@ def generate_scu_files(max_includes_per_scu):
|
||||
process_folder(["modules/openxr"], ["register_types"])
|
||||
process_folder(["modules/openxr/action_map"])
|
||||
process_folder(["modules/openxr/editor"])
|
||||
process_folder(["modules/godot_physics_3d"])
|
||||
process_folder(["modules/godot_physics_3d/joints"])
|
||||
|
||||
process_folder(["modules/csg"])
|
||||
process_folder(["modules/gdscript"])
|
||||
@@ -349,8 +351,6 @@ def generate_scu_files(max_includes_per_scu):
|
||||
process_folder(["servers/rendering/renderer_rd/environment"])
|
||||
process_folder(["servers/rendering/renderer_rd/storage_rd"])
|
||||
process_folder(["servers/physics_2d"])
|
||||
process_folder(["servers/physics_3d"])
|
||||
process_folder(["servers/physics_3d/joints"])
|
||||
process_folder(["servers/audio"])
|
||||
process_folder(["servers/audio/effects"])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user