Skip to content

Zoom need click #39

Open
Open
@FloLech

Description

@FloLech

I run an embeded a-frame scene using orbit controls. I am facing an interaction issue reagrding zoom:
Once the scene is loaded a user has to click on the scene to make zoom (mouse weel) work. I would like to get the zoom function without the initial click.
I tried to programmatically dispatch a click event – no luck with this approach. For comparison I attached the wsad-controls component. This one recognizes the key inputs without the initial click event.

Any idea on how to make this work?

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