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

no_button_action in CameraController of root camera not working #51

Open
KnightCoder opened this issue Apr 25, 2020 · 0 comments
Open

Comments

@KnightCoder
Copy link

KnightCoder commented Apr 25, 2020

I added a CameraController to the root camera however, when I try to set no_button_action to "Rotate Horizontal" it seems to crash the editor.

I noticed that it is throwing error "Uncaught TypeError: Cannot read property 'set' of undefined" in the update() function in the camera.js file.

Basically value of destination_eye in the following line of code is undefined camera._editor.destination_eye.set( camera.eye );

My intention of adding no_button_action is in the hope that it will rotate the scene on load when the user is not interacting with the scene. Also please tell me whether this understanding correct?

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