You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to replace the controller with OrbitControls as in the plugins/controls/examples/threejs-controls.html. I ran the example from the local server. When I try to drop that code into my project, its not finding all the required scripts called by the require as they are hardcoded into tquery-bundle-require.js to work for the git repo directory structure only. Is there any way of getting rid of the require and just using tquery.controlswrapper.js and OrbitControls.js ? I tried to add them both as scripts but when I do "new THREE.OrbitControls(camera)"; I get "Uncaught TypeError: undefined is not a function " .
Why would you require all the controllers when I only use one. Why does this example of replacing the controller use tquery-bundle-require.js when you specifically instruct users elsewhere to NOT use this library because its too bloated. I'm finding this library has great potential but having a terrible time groking how to use it. Regardless, thanks for your hard work in it :)
The text was updated successfully, but these errors were encountered:
I'm trying to replace the controller with OrbitControls as in the plugins/controls/examples/threejs-controls.html. I ran the example from the local server. When I try to drop that code into my project, its not finding all the required scripts called by the require as they are hardcoded into tquery-bundle-require.js to work for the git repo directory structure only. Is there any way of getting rid of the require and just using tquery.controlswrapper.js and OrbitControls.js ? I tried to add them both as scripts but when I do "new THREE.OrbitControls(camera)"; I get "Uncaught TypeError: undefined is not a function " .
Why would you require all the controllers when I only use one. Why does this example of replacing the controller use tquery-bundle-require.js when you specifically instruct users elsewhere to NOT use this library because its too bloated. I'm finding this library has great potential but having a terrible time groking how to use it. Regardless, thanks for your hard work in it :)
The text was updated successfully, but these errors were encountered: