when i use this package in react-project, throw TypeError: uvScaleMap.updateMatrix is not a function,make me confuse.
part of code:
import './ThreeMap.css';
import React, { Component } from 'react';
import * as THREE from '../../node_modules/three/build/three.module';
import * as FBXLoader from 'three-fbx-loader';
import Orbitcontrols from 'three-orbitcontrols';
import Stats from '../common/threejslibs/stats.min.js';
...
let loader = new FBXLoader();
let fbxUrl = require('./B013.FBX');
loader.load(fbxUrl, function(obj) {
group.add(obj);
console.log('123');
},function(){} , function(error){
console.log(error);
})
...
when i use this package in react-project, throw TypeError: uvScaleMap.updateMatrix is not a function,make me confuse.
part of code: