TypeError: THREE.OrbitControls is not a constructor | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

TypeError: THREE.OrbitControls is not a constructor

TypeError: THREE.OrbitControls is not a constructor

20th Aug 2020, 5:14 AM
Divyansh Srivastava
Divyansh Srivastava - avatar
1 Answer
+ 4
Take a look at these examples : https://www.sololearn.com/post/92744/?ref=app Rendering 3D objects with three.js library 1. Documentation and examples https://threejs.org 2. Examples at our community :- 2.1 A basic cube by Basel Al_hajeri('MBH') https://code.sololearn.com/W79b6TKn8Zbp/?ref=app 2.2 3D Running horse🐎  by Ashutosh Kumar https://code.sololearn.com/WVOgHnmsVQ5M/?ref=app 2.3 3D Car Game by Joakim Nyland https://code.sololearn.com/W1XJn0X6XTHU/?ref=app 2.4 Mars Rover by Taste https://code.sololearn.com/Wnn1hPxxv33T/?ref=app
20th Aug 2020, 5:39 AM
Gordon
Gordon - avatar