Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Controls example not plugin-able #304

Open
justin-hackin opened this issue Nov 17, 2013 · 0 comments
Open

Controls example not plugin-able #304

justin-hackin opened this issue Nov 17, 2013 · 0 comments

Comments

@justin-hackin
Copy link

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant