Merge pull request #20947 from oisincar/get_bone_ix

Expose PhysicalBone::get_bone_id() to c#/gdscript
This commit is contained in:
Rémi Verschelde 2018-08-14 09:32:18 +02:00 committed by GitHub
commit e6b8963aae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);