diff --git a/doc/base/classes.xml b/doc/base/classes.xml index 79bb313c9bd..c83e51f3835 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -4026,7 +4026,7 @@ - + @@ -4035,7 +4035,7 @@ - + diff --git a/scene/2d/area_2d.cpp b/scene/2d/area_2d.cpp index 50a115174d0..8b7aff3b7a0 100644 --- a/scene/2d/area_2d.cpp +++ b/scene/2d/area_2d.cpp @@ -638,8 +638,8 @@ void Area2D::_bind_methods() { ObjectTypeDB::bind_method(_MD("get_overlapping_bodies"),&Area2D::get_overlapping_bodies); ObjectTypeDB::bind_method(_MD("get_overlapping_areas"),&Area2D::get_overlapping_areas); - ObjectTypeDB::bind_method(_MD("overlaps_body:PhysicsBody2D","body"),&Area2D::overlaps_body); - ObjectTypeDB::bind_method(_MD("overlaps_area:Area2D","area"),&Area2D::overlaps_area); + ObjectTypeDB::bind_method(_MD("overlaps_body","body"),&Area2D::overlaps_body); + ObjectTypeDB::bind_method(_MD("overlaps_area","area"),&Area2D::overlaps_area); ObjectTypeDB::bind_method(_MD("_body_inout"),&Area2D::_body_inout); ObjectTypeDB::bind_method(_MD("_area_inout"),&Area2D::_area_inout); diff --git a/scene/3d/area.cpp b/scene/3d/area.cpp index 8527c4d60e7..a8a41220162 100644 --- a/scene/3d/area.cpp +++ b/scene/3d/area.cpp @@ -628,8 +628,8 @@ void Area::_bind_methods() { ObjectTypeDB::bind_method(_MD("get_overlapping_bodies"),&Area::get_overlapping_bodies); ObjectTypeDB::bind_method(_MD("get_overlapping_areas"),&Area::get_overlapping_areas); - ObjectTypeDB::bind_method(_MD("overlaps_body:PhysicsBody","body"),&Area::overlaps_body); - ObjectTypeDB::bind_method(_MD("overlaps_area:Area","area"),&Area::overlaps_area); + ObjectTypeDB::bind_method(_MD("overlaps_body","body"),&Area::overlaps_body); + ObjectTypeDB::bind_method(_MD("overlaps_area","area"),&Area::overlaps_area); ObjectTypeDB::bind_method(_MD("_body_inout"),&Area::_body_inout); ObjectTypeDB::bind_method(_MD("_area_inout"),&Area::_area_inout);