diff --git a/modules/entity_spell_system/entities/entity.cpp b/modules/entity_spell_system/entities/entity.cpp index c1c54c6c7..1f00dc4fa 100644 --- a/modules/entity_spell_system/entities/entity.cpp +++ b/modules/entity_spell_system/entities/entity.cpp @@ -7569,9 +7569,9 @@ void Entity::_bind_methods() { ClassDB::bind_method(D_METHOD("get_character_skeleton"), &Entity::get_character_skeleton); ClassDB::bind_method(D_METHOD("set_character_skeleton", "skeleton"), &Entity::set_character_skeleton); - ClassDB::bind_method(D_METHOD("body_instance"), &Entity::body_instance); + ClassDB::bind_method(D_METHOD("body_instance", "data", "model_index"), &Entity::body_instance); ClassDB::bind_method(D_METHOD("body_on_changed"), &Entity::body_on_changed); - +w BIND_VMETHOD(MethodInfo("_body_changed")); ADD_SIGNAL(MethodInfo("body_changed", PropertyInfo(Variant::OBJECT, "entity", PROPERTY_HINT_RESOURCE_TYPE, "Entity")));