diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-01-26 22:21:53 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2019-01-26 22:21:53 +0100 |
commit | 433b8ee526ca58e742848db012be21c17e8fa9c6 (patch) | |
tree | 1aa147cb1d1dd565889efb758e061bf6b87dd5cd /servers | |
parent | d9268265dcc19ac7e61629f51783d30750eb80e8 (diff) |
doc: Sync classref with current source
Diffstat (limited to 'servers')
-rw-r--r-- | servers/physics_2d_server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/physics_2d_server.cpp b/servers/physics_2d_server.cpp index 99f539ea86..ca914b67e0 100644 --- a/servers/physics_2d_server.cpp +++ b/servers/physics_2d_server.cpp @@ -620,7 +620,7 @@ void Physics2DServer::_bind_methods() { ClassDB::bind_method(D_METHOD("body_clear_shapes", "body"), &Physics2DServer::body_clear_shapes); ClassDB::bind_method(D_METHOD("body_set_shape_disabled", "body", "shape_idx", "disable"), &Physics2DServer::body_set_shape_disabled); - ClassDB::bind_method(D_METHOD("body_set_shape_as_one_way_collision", "body", "shape_idx", "enable"), &Physics2DServer::body_set_shape_as_one_way_collision); + ClassDB::bind_method(D_METHOD("body_set_shape_as_one_way_collision", "body", "shape_idx", "enable", "margin"), &Physics2DServer::body_set_shape_as_one_way_collision); ClassDB::bind_method(D_METHOD("body_attach_object_instance_id", "body", "id"), &Physics2DServer::body_attach_object_instance_id); ClassDB::bind_method(D_METHOD("body_get_object_instance_id", "body"), &Physics2DServer::body_get_object_instance_id); |