diff options
author | Ricardo Buring <ricardo.buring@gmail.com> | 2022-09-07 12:47:18 +0200 |
---|---|---|
committer | Ricardo Buring <ricardo.buring@gmail.com> | 2022-09-07 13:16:44 +0200 |
commit | bf523b26b9f46465362d2df584158e47c2158397 (patch) | |
tree | d25504ae2c5c27feaf862a1bbbc895a8d2ff3b4e /servers/extensions | |
parent | 0f62e357e0868ce7e7f822379027d86dd927dbca (diff) |
Bind all methods in PhysicsServer2DExtension, PhysicsServer3DExtension
Diffstat (limited to 'servers/extensions')
-rw-r--r-- | servers/extensions/physics_server_2d_extension.cpp | 8 | ||||
-rw-r--r-- | servers/extensions/physics_server_3d_extension.cpp | 8 | ||||
-rw-r--r-- | servers/extensions/physics_server_3d_extension.h | 2 |
3 files changed, 17 insertions, 1 deletions
diff --git a/servers/extensions/physics_server_2d_extension.cpp b/servers/extensions/physics_server_2d_extension.cpp index 2ef4cd3352..c56f31e6f9 100644 --- a/servers/extensions/physics_server_2d_extension.cpp +++ b/servers/extensions/physics_server_2d_extension.cpp @@ -284,6 +284,14 @@ void PhysicsServer2DExtension::_bind_methods() { GDVIRTUAL_BIND(_set_active, "active"); + GDVIRTUAL_BIND(_init); + GDVIRTUAL_BIND(_step, "step"); + GDVIRTUAL_BIND(_sync); + GDVIRTUAL_BIND(_flush_queries); + GDVIRTUAL_BIND(_end_sync); + GDVIRTUAL_BIND(_finish); + + GDVIRTUAL_BIND(_is_flushing_queries); GDVIRTUAL_BIND(_get_process_info, "process_info"); } diff --git a/servers/extensions/physics_server_3d_extension.cpp b/servers/extensions/physics_server_3d_extension.cpp index 7d797bf611..6ed5dca968 100644 --- a/servers/extensions/physics_server_3d_extension.cpp +++ b/servers/extensions/physics_server_3d_extension.cpp @@ -315,6 +315,14 @@ void PhysicsServer3DExtension::_bind_methods() { GDVIRTUAL_BIND(_set_active, "active"); + GDVIRTUAL_BIND(_init); + GDVIRTUAL_BIND(_step, "step"); + GDVIRTUAL_BIND(_sync); + GDVIRTUAL_BIND(_flush_queries); + GDVIRTUAL_BIND(_end_sync); + GDVIRTUAL_BIND(_finish); + + GDVIRTUAL_BIND(_is_flushing_queries); GDVIRTUAL_BIND(_get_process_info, "process_info"); } diff --git a/servers/extensions/physics_server_3d_extension.h b/servers/extensions/physics_server_3d_extension.h index 3200438253..c84582bf31 100644 --- a/servers/extensions/physics_server_3d_extension.h +++ b/servers/extensions/physics_server_3d_extension.h @@ -537,8 +537,8 @@ public: EXBIND0(init) EXBIND1(step, real_t) EXBIND0(sync) - EXBIND0(end_sync) EXBIND0(flush_queries) + EXBIND0(end_sync) EXBIND0(finish) EXBIND0RC(bool, is_flushing_queries) |