If a gltf file contains transformations in the fields scaling, rotation, and translation, these are not considered in the computation.
This happens because in the function getParentNodesMatrices, only the field matrix is checked.
However, the GLTF specifications says that also three other fields are present (for T, R, and S), which can contain the transformations separately.
If a
gltf
file contains transformations in the fieldsscaling
,rotation
, andtranslation
, these are not considered in the computation.This happens because in the function
getParentNodesMatrices
, only the fieldmatrix
is checked. However, the GLTF specifications says that also three other fields are present (for T, R, and S), which can contain the transformations separately.