OrbitControls
See original GitHub issueThanks for a really good and extendable repository. I have a question. I have created a custom GridSystem that extends the VglObject3D
. It works as expected. Now I would like to add OrbitControls. How would you do it? So far I have created a new vue component that import THREE.OrbitControls
. But how would you instantiate the OrbitControls component with a camera attached?
Issue Analytics
- State:
- Created 6 years ago
- Comments:11 (3 by maintainers)
Top Results From Across the Web
OrbitControls – three.js docs
Orbit controls allow the camera to orbit around a target. To use this, as with all files in the /examples directory, you will...
Read more >Orbit Controls - Three.js Tutorials - sbcode.net
Description. Orbit controls allow the camera to orbit around a target. <> ...
Read more >What are OrbitControls in three.js? - Educative.io
The three.js library in JavaScript uses WebGL to render animations on the web. We use OrbitControls to make the camera orbit a target....
Read more >three-orbit-controls | Yarn - Package Manager
Fast, reliable, and secure dependency management.
Read more >OrbitControls not working with Loading file - Stack Overflow
OrbitControls is not directly exported as part of the Three.js library; instead it's exported as part of the examples .
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@fraguada I was able to solve it by doing this:
jsfiddle
Thanks @notchris. That did it!