Skip to content

TypeError: uvScaleMap.updateMatrix is not a function #2

@hopepdm

Description

@hopepdm

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);
})
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions