diff --git a/modules/gltf/gltf_document.cpp b/modules/gltf/gltf_document.cpp index 992075e980e7..be88f650117a 100644 --- a/modules/gltf/gltf_document.cpp +++ b/modules/gltf/gltf_document.cpp @@ -603,6 +603,7 @@ Error GLTFDocument::_parse_nodes(Ref p_state) { } if (n.has("matrix")) { node->transform = _arr_to_xform(n["matrix"]); + node->set_additional_data("GODOT_rest_transform", node->transform); } else { if (n.has("translation")) { node->set_position(_arr_to_vec3(n["translation"]));