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

Transform Gizmos Uninteractable in WebGL #54

Open
sajattack opened this issue Jul 7, 2023 · 2 comments
Open

Transform Gizmos Uninteractable in WebGL #54

sajattack opened this issue Jul 7, 2023 · 2 comments

Comments

@sajattack
Copy link

As discussed on discord:

sajattack: Using bevy 0.10.1, bevy_transform_gizmo 0.7 and bevy_mod_picking 0.13, in WebGL, on a nested mesh, I can bring up a transform gizmo but not interact with it. It draws and I click it and nothing reacts. Maybe mouse input is broken on web?

aevyrie: Looks like it even fails with a few simple meshes. Hm. Need to do some debugging.

Repro:

Build this project with trunk-rs https://trunkrs.dev/

bevy-repro.zip

@aevyrie
Copy link
Collaborator

aevyrie commented Jul 10, 2023

Something odd is happening. I looked at this briefly, and I don't see anything obvious. Picking is working, however dragging is not, at least on this mesh. Need to see if other dragging examples (like the one in the picking repo) work as expected.

@azazdeaz
Copy link

I can reproduce the issue with bevy_transform_gizmo@0.8.0 and bevy@0.11.2.
I tried to figure it out, but i have no clue what's the issue is. It seems like the PickingInteraction component is set to Pressed before the grab_gizmo system runs, but i couldn't find out how that happens.
Dragging with bevy_mod_picking works perfectly for me in the browser 👍

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

3 participants