Skip to content

no_button_action in CameraController of root camera not working #51

@KnightCoder

Description

@KnightCoder

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions