THREE.Object3D.add: object not an instance of THREE.Object3D.

threejs 运行项目的时候报错

原因是 object3D.add(cube_1) cube_1 并不是一个Object3D类型的
应该 THREE.Mesh一下 之后在加到object里边 不会报错

THREE.Object3D.add: object not an instance of THREE.Object3D._第1张图片

你可能感兴趣的:(THREE.Object3D.add: object not an instance of THREE.Object3D.)