diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-08-14 09:32:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-14 09:32:18 +0200 |
commit | e6b8963aaea65a30ac4b846d6d027a44965cb1cd (patch) | |
tree | 89857313fc213d55b5661ea36f90ec5b85796b7a /scene/3d/physics_body.cpp | |
parent | 82b092deccfeb2e7baaf01f3d7335e59363b621c (diff) | |
parent | b684116b60ed4b40b2b1576aa39e7db06534276d (diff) |
Merge pull request #20947 from oisincar/get_bone_ix
Expose PhysicalBone::get_bone_id() to c#/gdscript
Diffstat (limited to 'scene/3d/physics_body.cpp')
-rw-r--r-- | scene/3d/physics_body.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/3d/physics_body.cpp b/scene/3d/physics_body.cpp index 84a0fb9b1d..e53ccb4cf4 100644 --- a/scene/3d/physics_body.cpp +++ b/scene/3d/physics_body.cpp @@ -2042,6 +2042,8 @@ void PhysicalBone::_bind_methods() { ClassDB::bind_method(D_METHOD("is_simulating_physics"), &PhysicalBone::is_simulating_physics); + ClassDB::bind_method(D_METHOD("get_bone_id"), &PhysicalBone::get_bone_id); + ClassDB::bind_method(D_METHOD("set_mass", "mass"), &PhysicalBone::set_mass); ClassDB::bind_method(D_METHOD("get_mass"), &PhysicalBone::get_mass); |