aboutsummaryrefslogtreecommitdiff
path: root/servers/physics_2d_server.cpp
diff options
context:
space:
mode:
authorAndreaCatania2017-09-29 17:33:30 +0200
committerAndreaCatania2017-09-29 17:33:30 +0200
commitc56c67db39b619d37c503e41e718f9cda39c3f0e (patch)
tree2fa62c7103a09e3c0b2baeface159613ae6d5cba /servers/physics_2d_server.cpp
parentdee100139008bd4dd8c270da6a7f5aa326a32c25 (diff)
downloadgodot-c56c67db39b619d37c503e41e718f9cda39c3f0e.tar.gz
godot-c56c67db39b619d37c503e41e718f9cda39c3f0e.tar.zst
godot-c56c67db39b619d37c503e41e718f9cda39c3f0e.zip
Diffstat (limited to 'servers/physics_2d_server.cpp')
-rw-r--r--servers/physics_2d_server.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/servers/physics_2d_server.cpp b/servers/physics_2d_server.cpp
index b42b85b1b..671c31e6a 100644
--- a/servers/physics_2d_server.cpp
+++ b/servers/physics_2d_server.cpp
@@ -579,6 +579,8 @@ void Physics2DServer::_bind_methods() {
ClassDB::bind_method(D_METHOD("body_test_motion", "body", "from", "motion", "margin", "result"), &Physics2DServer::_body_test_motion, DEFVAL(0.08), DEFVAL(Variant()));
+ ClassDB::bind_method(D_METHOD("body_get_direct_state", "body"), &Physics2DServer::body_get_direct_state);
+
/* JOINT API */
ClassDB::bind_method(D_METHOD("joint_set_param", "joint", "param", "value"), &Physics2DServer::joint_set_param);