diff --git a/source/gltf/node.js b/source/gltf/node.js index 792d717a..026c749f 100644 --- a/source/gltf/node.js +++ b/source/gltf/node.js @@ -104,6 +104,10 @@ class gltfNode extends GltfObject { } getLocalTransform() { + // Matrices are never animated, so if a matrix is present we can just use it directly + if (this.matrix !== undefined) { + return this.matrix; + } return mat4.fromRotationTranslationScale( mat4.create(), this.rotation,