diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-05-25 21:47:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-25 21:47:33 +0200 |
commit | ca9b7f422f0fcc111b038e5dfa85879dc805e410 (patch) | |
tree | 57107b32c229f4e2483ee80e6ba821ef2296486f /servers/physics_server.cpp | |
parent | ba125a60a40955da04a9c0d079c906cc0fc06fd0 (diff) | |
parent | 0ea9c7c4dd29296ae9714e095c7426c385db8979 (diff) |
Merge pull request #19165 from mrcdk/expose_area_methods
Expose methods area_set_area_monitor_callback and area_set_monitorable
Diffstat (limited to 'servers/physics_server.cpp')
-rw-r--r-- | servers/physics_server.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/servers/physics_server.cpp b/servers/physics_server.cpp index 08af26c24b..82c4eb2e13 100644 --- a/servers/physics_server.cpp +++ b/servers/physics_server.cpp @@ -444,6 +444,8 @@ void PhysicsServer::_bind_methods() { ClassDB::bind_method(D_METHOD("area_get_object_instance_id", "area"), &PhysicsServer::area_get_object_instance_id); ClassDB::bind_method(D_METHOD("area_set_monitor_callback", "area", "receiver", "method"), &PhysicsServer::area_set_monitor_callback); + ClassDB::bind_method(D_METHOD("area_set_area_monitor_callback", "area", "receiver", "method"), &PhysicsServer::area_set_area_monitor_callback); + ClassDB::bind_method(D_METHOD("area_set_monitorable", "area", "monitorable"), &PhysicsServer::area_set_monitorable); ClassDB::bind_method(D_METHOD("area_set_ray_pickable", "area", "enable"), &PhysicsServer::area_set_ray_pickable); ClassDB::bind_method(D_METHOD("area_is_ray_pickable", "area"), &PhysicsServer::area_is_ray_pickable); |