summaryrefslogtreecommitdiff
path: root/scene/3d
diff options
context:
space:
mode:
authorIgnacio Etcheverry <ignalfonsore@gmail.com>2016-12-10 15:35:41 +0100
committerIgnacio Etcheverry <ignalfonsore@gmail.com>2016-12-10 16:23:47 +0100
commitd579d0a8148f7ce62e320a09fd2e78c430dad530 (patch)
treefed6dafb08a3a1c98b318727cb7fe400643ba8b8 /scene/3d
parentedddee5d45f4493de2d1fe456bfb435df748dcae (diff)
KinematicBody: Fix wrong method bind return type
Diffstat (limited to 'scene/3d')
-rw-r--r--scene/3d/physics_body.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/3d/physics_body.cpp b/scene/3d/physics_body.cpp
index 116f967bd2..ced6cdc94f 100644
--- a/scene/3d/physics_body.cpp
+++ b/scene/3d/physics_body.cpp
@@ -1304,7 +1304,7 @@ void KinematicBody::_bind_methods() {
ObjectTypeDB::bind_method(_MD("get_collision_pos"),&KinematicBody::get_collision_pos);
ObjectTypeDB::bind_method(_MD("get_collision_normal"),&KinematicBody::get_collision_normal);
ObjectTypeDB::bind_method(_MD("get_collider_velocity"),&KinematicBody::get_collider_velocity);
- ObjectTypeDB::bind_method(_MD("get_collider:Object"),&KinematicBody::_get_collider);
+ ObjectTypeDB::bind_method(_MD("get_collider:Variant"),&KinematicBody::_get_collider);
ObjectTypeDB::bind_method(_MD("get_collider_shape"),&KinematicBody::get_collider_shape);