I’m trying to import a simple cube from C4D to three.js and get the following error:
TypeError: matrix.fromArray is not a function
at GLTFLoader.js:3003
Ok, next step was to double check the model itself and tried to import some other “proved” models.
Notice that the usage of three.js (especially its loaders and exporters) in a node environment is restricted. Can you please share your code as a github repository so it’s possible to reproduce the issue on a local machine?
turntable_gltf.html actually contains a lot of legacy three.js code. I’ve cleaned up all deprecated stuff so no warnings and errors are logged anymore.
Besides, your glTF asset Duck.gltf was incomplete. The corresponding binary data Duck0.bin and the texture DuckCM.png were missing.