I checked many methods on the Internet, and all of them introduced the orbitcontrols in the example. However, these methods I use now report errors. The specific problem may be that the versions are different, and I don’t particularly study them in depth. At this moment, the method I use is to introduce three orbitcontrols, which can be tested by myself
import * as THREE from "three";
import { OrbitControls } from 'three-orbitcontrols-ts';
const controls = new OrbitControls(camera, renderer.domElement);
Note: many methods are temporarily feasible, more often need to verify!
Read More:
- Introduce vuex error reporting solution
- About iView reporting error in Vue project: error in mounted hook: “typeerror: this$ parent.updateNav is not a function”
- The problem of error reporting in Ranger connection hive is solved
- Problems and solutions of error reporting in using swiper in Vue
- In Vue, use echorts to report an error: “typeerror: cannot read property ‘init’ of undefined” error reporting reason and solution
- How to solve the problem of error reporting in Flink
- How to solve the problem of error reporting in the introduction of Python Django no module name ‘Django. Utils. Six’
- In many cases, the problem of error reporting by label in latex
- Ant Design ‘cross env’ is not an internal or external command, nor is it an error reporting problem for a runnable program
- Vue element UI uses this. $notify is not a function problem resolution using the notification box
- How to solve the cross domain problem of Axios in Vue project
- The fastest way to solve the problem of error reporting from crypto.cipher import AES
- After Vue is packaged, a blank page appears, an error is reported in the resource request, and there is no error handling scheme
- The problem of error in adaptation of Vue using vant mobile terminal rem
- Solution to the problem of failure to elect leaders when offline service is reported in Nacos
- Several solutions to HDF5 error reporting in Python environment
- The Vue project is packaged and deployed to tomcat, and an Error 404 is reported as soon as it is refreshed
- Solution to the problem that listen TCP 0.0.0.0:3306: bind: address already in use port is occupied in Linux centos7
- The problem that the El icons icon cannot be displayed in vue3 + element plus + vite
- Solve the problem of “error empty block statement no empty” in the console (Vue project)