diff options
| author | AndreaCatania | 2017-09-29 17:33:30 +0200 |
|---|---|---|
| committer | AndreaCatania | 2017-09-29 17:33:30 +0200 |
| commit | c56c67db39b619d37c503e41e718f9cda39c3f0e (patch) | |
| tree | 2fa62c7103a09e3c0b2baeface159613ae6d5cba /servers/physics_2d_server.cpp | |
| parent | dee100139008bd4dd8c270da6a7f5aa326a32c25 (diff) | |
| download | godot-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.cpp | 2 |
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); |
