summaryrefslogtreecommitdiff
path: root/servers/extensions/SCsub
diff options
context:
space:
mode:
authorreduz <reduzio@gmail.com>2022-03-14 15:52:03 +0100
committerreduz <reduzio@gmail.com>2022-03-15 18:39:31 +0100
commit8b547331bec150b682fda94da1568fbcbda689ba (patch)
tree49159fd03ccc81cbfc2b4c6a70d1b7f1ac9cc5a1 /servers/extensions/SCsub
parent41edfc88a3f82e643ad3f4613de7a787a00ee68a (diff)
Create GDExtension clases for PhysicsServer3D
* Allows creating a GDExtension based 3D Physics Server (for Bullet, PhysX, etc. support) * Some changes on native struct binding for PhysicsServer This allows a 3D Physics server created entirely from GDExtension. Once it works, the idea is to port the 2D one to it.
Diffstat (limited to 'servers/extensions/SCsub')
-rw-r--r--servers/extensions/SCsub12
1 files changed, 12 insertions, 0 deletions
diff --git a/servers/extensions/SCsub b/servers/extensions/SCsub
new file mode 100644
index 0000000000..eac66ea283
--- /dev/null
+++ b/servers/extensions/SCsub
@@ -0,0 +1,12 @@
+#!/usr/bin/env python
+
+Import("env")
+
+import make_wrappers
+from platform_methods import run_in_subprocess
+
+env.CommandNoCache(["ext_wrappers.gen.inc"], "make_wrappers.py", run_in_subprocess(make_wrappers.run))
+
+env_object = env.Clone()
+
+env_object.add_source_files(env.servers_sources, "*.cpp")